#include <fbm.h>
Public Member Functions | |
~FBmTexture () | |
FBmTexture (int oct, float roughness, TextureMapping3D *map) | |
T | 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 |
TextureMapping3D * | mapping |
Definition at line 32 of file fbm.h.
lux::FBmTexture< T >::~FBmTexture | ( | ) | [inline] |
lux::FBmTexture< T >::FBmTexture | ( | int | oct, | |
float | roughness, | |||
TextureMapping3D * | map | |||
) | [inline] |
Definition at line 38 of file fbm.h.
References lux::FBmTexture< T >::mapping, lux::FBmTexture< T >::octaves, and lux::FBmTexture< T >::omega.
Texture< float > * lux::FBmTexture< T >::CreateFloatTexture | ( | const Transform & | tex2world, | |
const TextureParams & | tp | |||
) | [inline, static] |
Definition at line 60 of file fbm.h.
References lux::IdentityMapping3D::Apply3DTextureMappingOptions(), lux::TextureParams::FindFloat(), and lux::TextureParams::FindInt().
Referenced by lux::MakeFloatTexture().
Texture< Spectrum > * lux::FBmTexture< T >::CreateSpectrumTexture | ( | const Transform & | tex2world, | |
const TextureParams & | tp | |||
) | [inline, static] |
Definition at line 72 of file fbm.h.
References lux::IdentityMapping3D::Apply3DTextureMappingOptions(), lux::TextureParams::FindFloat(), and lux::TextureParams::FindInt().
Referenced by lux::MakeSpectrumTexture().
T lux::FBmTexture< T >::Evaluate | ( | const DifferentialGeometry & | dg | ) | const [inline, virtual] |
Implements lux::Texture< T >.
Definition at line 43 of file fbm.h.
References lux::FBm(), lux::TextureMapping3D::Map(), lux::FBmTexture< T >::mapping, lux::FBmTexture< T >::octaves, and lux::FBmTexture< T >::omega.
TextureMapping3D* lux::FBmTexture< T >::mapping [private] |
Definition at line 56 of file fbm.h.
Referenced by lux::FBmTexture< T >::Evaluate(), lux::FBmTexture< T >::FBmTexture(), and lux::FBmTexture< T >::~FBmTexture().
int lux::FBmTexture< T >::octaves [private] |
Definition at line 54 of file fbm.h.
Referenced by lux::FBmTexture< T >::Evaluate(), and lux::FBmTexture< T >::FBmTexture().
float lux::FBmTexture< T >::omega [private] |
Definition at line 55 of file fbm.h.
Referenced by lux::FBmTexture< T >::Evaluate(), and lux::FBmTexture< T >::FBmTexture().