#include <marble.h>

Public Member Functions | |
| ~MarbleTexture () | |
| MarbleTexture (int oct, float roughness, float sc, float var, TextureMapping3D *map) | |
| Spectrum | Evaluate (const DifferentialGeometry &dg) const |
Static Public Member Functions | |
| static Texture< float > * | CreateFloatTexture (const Transform &tex2world, const TextureParams &tp) |
| static Texture< Spectrum > * | CreateSpectrumTexture (const Transform &tex2world, const TextureParams &tp) |
Private Attributes | |
| int | octaves |
| float | omega |
| float | scale |
| float | variation |
| TextureMapping3D * | mapping |
Definition at line 32 of file marble.h.
| lux::MarbleTexture::~MarbleTexture | ( | ) | [inline] |
| lux::MarbleTexture::MarbleTexture | ( | int | oct, | |
| float | roughness, | |||
| float | sc, | |||
| float | var, | |||
| TextureMapping3D * | map | |||
| ) | [inline] |
| Texture< float > * MarbleTexture::CreateFloatTexture | ( | const Transform & | tex2world, | |
| const TextureParams & | tp | |||
| ) | [static] |
| Texture< Spectrum > * MarbleTexture::CreateSpectrumTexture | ( | const Transform & | tex2world, | |
| const TextureParams & | tp | |||
| ) | [static] |
Definition at line 34 of file marble.cpp.
References lux::IdentityMapping3D::Apply3DTextureMappingOptions(), lux::TextureParams::FindFloat(), lux::TextureParams::FindInt(), and MarbleTexture().
Referenced by lux::MakeSpectrumTexture().
| Spectrum lux::MarbleTexture::Evaluate | ( | const DifferentialGeometry & | dg | ) | const [inline, virtual] |
Implements lux::Texture< Spectrum >.
Definition at line 46 of file marble.h.
References lux::FBm(), Floor2Int(), lux::TextureMapping3D::Map(), mapping, blender::marble(), NSEG, octaves, omega, scale, variation, and lux::Point::y.
TextureMapping3D* lux::MarbleTexture::mapping [private] |
Definition at line 78 of file marble.h.
Referenced by Evaluate(), MarbleTexture(), and ~MarbleTexture().
int lux::MarbleTexture::octaves [private] |
float lux::MarbleTexture::omega [private] |
float lux::MarbleTexture::scale [private] |
float lux::MarbleTexture::variation [private] |
1.5.9