Figure 1: Ray Tracing Visualization Toolkit. An extensible GUI, together with a ray state recording library and a collection of visualization components, integrate existing client renderers via a flexible plug-in architecture to support visual analysis of ray-based rendering algorithms. Here, rtVTK is used to visually debug an ill-behaved path tracer. The previously undiscovered bug is not obvious in either a low-quality image with relatively few samples per pixel (top left) or a high-quality image with many more samples per pixel (bottom left). However, when viewing the ray state directly with rtVTK (middle, right), the problem is immediately obvious: some shadow rays originating from diffuse surfaces (circled) are not directed toward any light source in the scene. Once identified, the correction was trivial; however, in its previous state, the renderer was incorrect, and likely would have remained so without the ability to visualize the ray tracing process itself.
AbstractThe Ray Tracing Visualization Toolkit (rtVTK) is a collection of programming and visualization tools supporting visual analysis of ray-based rendering algorithms. rtVTK leverages layered visualization within the spatial domain of computation, enabling investigators to explore the computational elements of any ray-based renderer. Renderers utilize a library for recording and processing ray state, and a configurable pipeline of loosely coupled components allows run-time control of the resulting visualization. rtVTK enhances tasks in development, education, and analysis by enabling users to interact with a visual representation of ray tracing computations.