Scene attribute

Scene attributes are applied to all 3D graphics during rendering. Scene attributes provide such features as hidden surface removal and sorting scheme algorithms. For example:

Figure 220 shows the THiddenSurfaceRemovalControl class and its GetHiddenSurfaceControl function. This class provides an option for the default z buffer rendering. The GetHiddenSurfaceControl function turns the zBuffer checking for hidden surfaces on and off. When on, hidden lines are sought out and those that are found are not rendered. When off, hidden lines are not sought out and are, therefore, rendered.



[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker