TGrafBundle3D

TGrafBundle3D is a general-purpose attribute bundle that provides attributes for 3-D graphics. It has Adopt, Orphan, Set, and Unset functions for changing the attribute settings in the bundle. The following list describes the 3-D attributes available in TGrafBundle3D. The rest of this chapter explains how to set, get, and change 3-D attributes for all attribute bundle classes.

3-D attribute Description
Drawing operations Determine whether the attribute bundle is for frame, surface, or frame and surface.
Extended attributes Add attribute definitions and create an iterator to iterate through them.
Frame styles The color and line width of the wire frame.
Colors Outside color: The base color assigned to the outside surface. This color is modified by the outside shader for final display. Inside color: The base color of the inside surface. This color is modified by the inside shader for final display.
Shaders Outside shader: The shader assigned to the outside color. Shaders define the effect of illumination on the outside color. Inside shader: The shader assigned to the inside color. The effect of illumination on the inside color. Shading resolution: Specifying which pixels are shaded. Shading interpolation: Specifying how to fill in the colors for pixels that lie between shading samples.
Surface Isolines How densely to draw isolines on a wireframe 3-D surface. Isolines (isoparametric lines) are quasiparallel curves that run along a curved surface in one parametric direction.
Tesselation control How finely to tessellate (divide into shards) a filled 3-D surface.
Texture maps The mapping between a 3-D geometry and a 2-D texture.
Backface culling Removing all surfaces that face to the back of a scene before the scene is shaded and 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