Controlling appearance
ColoringAttributes class methods
- Methods on ColoringAttributes select the color
and shading model
- The default color is white, and the default shading
model SHADE_GOURAUD
Method |
ColoringAttributes( ) |
void setColor( Color3f color ) |
void setShadeModel( int model ) |
- Shade models include:
SHADE_FLAT and
SHADE_GOURAUD (default)
- The FASTEST and NICEST
shade models automatically select the fastest,
and highest quality models available