material associated to a given object (color+shading data) More...
Collaboration diagram for cpe::material:Public Member Functions | |
| material (const color &c, const shading &shading_parameters, float reflection_power=0.5, double ior=1.0, double refraction_intensity=0.0) | |
| direct constructor (color+shading) More... | |
Public Attributes | |
| color | c |
| original color of the object More... | |
| shading | shading_parameters |
| shading parameter to compute illumination More... | |
| float | reflection_power |
| the reflective power of an object More... | |
| double | ior |
| the refraction index of an object More... | |
| double | refraction_intensity |
| the refraction power of an object More... | |
material associated to a given object (color+shading data)
| cpe::material::material | ( | const color & | c, |
| const shading & | shading_parameters, | ||
| float | reflection_power = 0.5, |
||
| double | ior = 1.0, |
||
| double | refraction_intensity = 0.0 |
||
| ) |
direct constructor (color+shading)
| color cpe::material::c |
original color of the object
Referenced by cpe::ray_trace().
| double cpe::material::ior |
the refraction index of an object
| float cpe::material::reflection_power |
the reflective power of an object
| double cpe::material::refraction_intensity |
the refraction power of an object
| shading cpe::material::shading_parameters |
shading parameter to compute illumination