|
|
| DayNightMaterial (Material *day, Material *night) |
| |
| virtual color | diffuse (const element &e, const photon &external_light) const |
| | Get the diffuse color of a surface element. More...
|
| |
|
virtual double | reflexion (const element &e, const photon &external_light) const |
| |
|
virtual photon | emission (const element &e, const photon &external_light) const |
| |
|
virtual vector | disturbance (const element &e, const photon &external_light) const |
| |
| | Material (const color &diffuse, double reflexion=0.0, const photon &emission=photon(), const vector &disturbance=vector(0.0, 0.0, 1.0)) |
| | Make a new material. More...
|
| |
◆ diffuse()
| color rt::DayNightMaterial::diffuse |
( |
const element & |
e, |
|
|
const photon & |
external_light |
|
) |
| const |
|
virtual |
Get the diffuse color of a surface element.
- Parameters
-
| e | A surface element attached (or not) to this material. |
Reimplemented from rt::Material.
The documentation for this class was generated from the following files: