1 TFrameBundle3D frameBundle( TRGBColor( 0,0,0 ), 5.0 ); 2 THairlineFrameBundle3D hairFrameBundle( TRGBColor( 0, 0, 0 ) ); 3 TFillBundle3D fillBundle( TRGBColor( 0.75, 0.75, 0.75 ) );
Line 2: Hairline frame bundle with a black hairline frame that efficiently draws a thin, centered frame.
Line 3: Fill bundle that defines a light gray fill. The default reflectance shader and scene bundle attributes are inherited. The shader uses the fill color and lighting information in the scene bundle to compute the final color of the fill. In this example, darker grays and colors appear black. You can adjust the appearance of darker grays and colors by adjusting the lighting in the scene bundle as described in Chapter 17.
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.