Examples/Test Cases

From PixieWiki

Jump to: navigation, search

It'd be great if we can get together a set of rib and shader files which test various features of Pixie. I figure this comes in several sections:

  • Tests for individual features (simple tests)
  • Tests for combined features (still quite simple)
  • Stress tests (large scenes, uses many features).

Perhaps you have any rib files that have caused problems in the past (perhaps things you've posted to the forums) but that subsequently started working in later version when the bug was fixed. Perhaps you have an example you know should work but doesn't - in particular rib files whose features are supposed to be supported, rather than those which currently are not implemented. Please upload them here so we can build a test set. Try to prefix the test with TEST_ unless it's also posted as an example on the example pages. Uploads can overwrite files that are already here - so if we keep prefixes then that'll be kept to a minimum. All the same, scan for a name which isn't used yet.

Contents

[edit] Simple Tests

[edit] Depth of Field

Media:TEST_dof.rib

Image:TEST_dof.jpg

[edit] Gather

Media:TEST_gather_mirror.sl

Media:TEST_simple_trace.sl

Media:TEST_gather.rib

Image:TEST_gather.jpg

Note that at some point, the gather was being done over the whole hemisphere, rather than the specified coneangle.

[edit] Displacements

Media:GSHdisplacementtest.rib

Media:GSHsinedisp.sl

Media:GSHglowoutline.sl

Image:GSHdisplacementtest.jpg

Note: In 1.3.12 the displacements are broken and do not occur, unless traced displacements are used.

[edit] Combined Tests

[edit] Tracing transparent objects

Media:TEST_TransparentTrace.rib

Image:TEST_TransparentTrace.jpg

Notes: In 1.3.10 and previous, the reflection on the ground plane only showed when the rays hit the rear plane.

[edit] raytraced mirror.sl and environment

Tests the ability of mirror.sl to produce blurred raytraced reflections using the environment construct.

Image:TEST_environment.jpg

Media:TEST_environment.rib

Note: In version up to 1.3.13 mirror.sl is broken in that it names the parameter to environment as numSamples when it should be samples. The above image is what it should look like. All objects apart from the mirror are semitransparent.

Personal tools