Files Class List

Detailed Description

Material definition.

#include <cyTriMesh.h>

Public Member Functions

 Mtl ()
 Constructor sets the default material values.
 

Public Attributes

Str name
 Material name.
 
float Ka [3]
 Ambient color.
 
float Kd [3]
 Diffuse color.
 
float Ks [3]
 Specular color.
 
float Tf [3]
 Transmission color.
 
float Ns
 Specular exponent.
 
float Ni
 Index of refraction.
 
int illum
 Illumination model.
 
Str map_Ka
 Ambient color texture map.
 
Str map_Kd
 Diffuse color texture map.
 
Str map_Ks
 Specular color texture map.
 
Str map_Ns
 Specular exponent texture map.
 
Str map_d
 Alpha texture map.
 
Str map_bump
 Bump texture map.
 
Str map_disp
 Displacement texture map.