
Public Member Functions | |
| ~MarbleTexture () | |
| MarbleTexture (int oct, float roughness, float sc, float var, TextureMapping3D *map) | |
| Spectrum | Evaluate (const DifferentialGeometry &dg) const |
Private Attributes | |
| int | octaves |
| float | omega |
| float | scale |
| float | variation |
| TextureMapping3D * | mapping |
Definition at line 29 of file marble.cpp.
| MarbleTexture::~MarbleTexture | ( | ) | [inline] |
| MarbleTexture::MarbleTexture | ( | int | oct, | |
| float | roughness, | |||
| float | sc, | |||
| float | var, | |||
| TextureMapping3D * | map | |||
| ) | [inline] |
| Spectrum MarbleTexture::Evaluate | ( | const DifferentialGeometry & | dg | ) | const [inline, virtual] |
Implements Texture< Spectrum >.
Definition at line 43 of file marble.cpp.
References FBm(), Floor2Int(), TextureMapping3D::Map(), mapping, NSEG, octaves, omega, scale, variation, and Point::y.
int MarbleTexture::octaves [private] |
float MarbleTexture::omega [private] |
float MarbleTexture::scale [private] |
float MarbleTexture::variation [private] |
TextureMapping3D* MarbleTexture::mapping [private] |
Definition at line 72 of file marble.cpp.
Referenced by Evaluate(), MarbleTexture(), and ~MarbleTexture().
1.5.6