Detailed Description
- See also:
- Class TextureInfo, Template Class Tab, Class
Point3, Rendering
Limits.
- Description:
- This class describes the properties of a material used by the
interactive renderer.
- Data Members:
- Point3
Ka;
Ambient color setting. The values for x, y, and z range from 0.0 to
1.0. These correspond to red, green, and blue respectively.
Point3 Kd;
Diffuse color setting. The values for x, y, and z range from 0.0 to
1.0. These correspond to red, green, and blue respectively.
Point3 Ks;
Specular color setting. The values for x, y, and z range from 0.0
to 1.0. These correspond to red, green, and blue
respectively.
float shininess;
Shininess setting. This value ranges from 0.0 to 1.0.
float shinStrength;
Shininess strength setting. This value ranges from 0.0 to
1.0.
float opacity;
Opacity setting. This value ranges from 0.0 to 1.0.
float selfIllum;
Self Illumination setting. This value ranges from 0.0 to 1.0.
int dblSided;
Double sided material
setting. Nonzero indicates double sided material; otherwise single
sided.
int shadeLimit;
Shading limit setting. See Rendering
Limits.
Tab<TextureInfo> texture;
The table of textures used by this material.
#include <mtl.h>
List of all
members.
Constructor & Destructor Documentation
Copy constructor.
- Parameters:
-
[in] |
from |
The object that will be copied. |
Member Function Documentation
Assignment operator.
- Parameters:
-
[in] |
from |
The object that will be copied. |
Member Data Documentation
Material Material Material Material
Material Material Material Material Material Material
Material Material Material Material
Material Material Material Material Material Material