Semiautomatic shader code generation for rendering voxelized polygonal models
Jan Fischer, David Whittaker, Aaron Lefohn, Bruce Gooch · 2008
Voxelization is an important basic operation for many applications in computer graphics and related areas. We describe a voxelization method for general, complex models, which generates a high-resolution volume in a single pass. One interesting application is the simultaneous display of all layers of a model, e.g., in illustrative visualization. Due to the representation of the voxelization data as bitstrings encoded in multiple textures, writing rendering code based on it can be a tedious task. We therefore, present an automated code generation technique that abstracts and encapsulates binary data access. This allows us to quickly write programs that generate renderings based on voxel data; we call these "voxel shaders".