Skip to content

CoordinatesTest

Ben Heasly edited this page Oct 17, 2016 · 6 revisions

The CoordinatesTest recipe makes a test pattern for visual inspection of 3D coordinate handedness and transformations.

Above, PBRT rendered the scene.

Above, Mitsuba rendered the scene.

Description

The parent scene contains pairs of shapes that mark the 3D coordinate axes: red shapes mark the x-axis, green shapes mark the y-axis, and blue shapes mark the z-axis. Round shapes mark the positive directions and cube shapes mark the negative directions. Thus, all 6 cardinal directions can be identified in the rendering. This is useful for checking the handedness of scene file converters, renderer-native scenes files, and renderers themselves.

The camera looks approximately along the positive z-axis, but it is translated and rotated slightly from the orthogonal. This is useful for checking that different renderers apply scene file transformations correctly and in the same order. Otherwise, renderers would probably produce dissimilar renderings.

Rendering

Use the script rtbMakeCoordinatesTest.m to produce the images above.

This scene renders without any conditions file or mappings file. It's a minimal conversion and rendering of the parent scene file.

Clone this wiki locally