Attribute bundle class architecture

Figure 185 shows that TGrafBundle3D derives from the abstract base class TAttribute3DState. TAttribute3DState has pure virtual Get functions that retrieve bundle attribute information, and the EDrawOperation field to specify the drawing operation of the bundle. The drawing operation determines whether the bundle attributes are used for drawing frames, surfaces, or frames and surfaces.


The frame is the color and line that outlines the border of the geometry, and surfaces are walls that connect the frame. Colors, texture mapping, and shaders define the interior and exterior surfaces of the geometry. Defaults provided by the drawing port are a black hairline frame, light gray outside surface color, a bright pink inside surface color, a reflectance shader, no texture map, smooth shading interpolation, and backface culling turned on.



[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