Affiliation: | Istituto Elaborazione dell'Informazione—Consiglio Nazionale delle Ricerche, via S. Maria, 46, 56100, Pisa, Italy Istituto CNUCE—Consiglio Nazionale delle Ricerche, via S. Maria, 36, 56100, Pisa, Italy |
Abstract: | A fast ray tracing algorithm of CSG tree is presented. The algorithm uses an adaptive space subdivisions approach, based on the conversion of the objects of the scene into the volumetric Sticks representation scheme. This conversion scheme, which requires O(kn2) memory space to represent data in a n3 grid, makes it possible either to obtain very fast low-quality frontal orthographic projections, or to produce a high-quality rendering of the scene in time less than that needed by classical ray tracing and nearly independent of the number of objects in the scene. Furthermore, the characteristics of the Sticks scheme can be exploited to compute geometric or topological properties of the represented objects. Comparative analyses between the Sticks representation scheme and classical space subdivision schemes and between our Sticksbased ray tracing and classical algorithms are presented. |