next up previous contents
Next: 13.9 Transfer Functions Up: 13 Volume Visualization with Previous: 13.7 Virtualizing Texture Memory

13.8 Mixing Volumetric and Geometric Objects

In many applications it is useful to display both geometric primitives and volumetric data sets in the same scene. For example, medical data can be rendered volumetrically, with a polygonal prosthesis placed inside it. The embedded geometry may be opaque or transparent.

Opaque geometric objects are rendered along with the volumetric data slice polygons using depth buffering for both. With depth buffering on, the pixels of planes behind the object aren't rendered, while the planes in front of the object blend it in. The blending of the planes in front of the object gradually obscure it, making it appear embedded in the volume data.

If the object itself should be transparent, it must be rendered a slice at a time. The object is chopped into slabs using user defined clipping planes.The slab thickness corresponds to the spacing between volume data slices. Each slab of object corresponds to one of the data slices. Each slice of the object is rendered and blended with its corresponding data slice polygon, as the polygons are rendered back to front.



David Blythe
Thu Jul 17 21:24:28 PDT 1997