class grSingleMaterial: public grNode

Material definition

Inheritance:


Public Fields

[more]GLenum face
Face mode, values: GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK
[more]float shininess
Values: (0,128) 0 = no shininess.
[more]grColor4f ambient
Ambient light color
[more]grColor4f diffuse
Prope color
[more]grColor4f specular
Specular reflection color
[more]grColor4f emission
Emissive color


Inherited from grNode:

Public Methods

ochar* Name() const
ovoid Render( grStatus & status )
ovoid Select( grStatus & status )
ogrNode* FindByName( const GLuint name )


Documentation

Material definition. Single (direct) material definition. This node defines directly the current opengl material (modify directly the current opengl status).
oGLenum face
Face mode, values: GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK

ofloat shininess
Values: (0,128) 0 = no shininess.

ogrColor4f ambient
Ambient light color

ogrColor4f diffuse
Prope color

ogrColor4f specular
Specular reflection color

ogrColor4f emission
Emissive color


This class has no child classes.
See Also:
opengl.

Alphabetic index HTML hierarchy of classes or Java


GCR, Graphics Library, VCG, IEI-CNR.