GEL
2
GEL is a library for Geometry and Linear Algebra
|
Public Attributes | |
std::string | name |
Name of material. | |
float | diffuse [4] |
Diffuse reflection. | |
float | ambient [4] |
Ambient reflection. | |
float | specular [4] |
Specular reflection. | |
float | shininess |
Specular exponent. | |
float | ior_in |
Index of refraction in the inverted normal direction ("inside") | |
float | ior_out |
Index of refraction in the normal direction ("outside") | |
float | transmission [3] |
Transmission filter. | |
int | illum |
bool | has_texture |
std::string | tex_path |
std::string | tex_name |
int | tex_id |
Illumination model 0 - Color 1 - Color and ambient 2 - Color and ambient and highlight 3 - Reflection 4 - Reflection and refraction Refer to the MTL format specification for more models. Only numbers from 0 to 10 have a specific meaning.