#include <fbm.h>
Public Member Functions | |
virtual | ~FBmTexture () |
FBmTexture (int oct, float roughness, TextureMapping3D *map) | |
virtual T | Evaluate (const TsPack *tspack, const DifferentialGeometry &dg) const |
Static Public Member Functions | |
static Texture< float > * | CreateFloatTexture (const Transform &tex2world, const TextureParams &tp) |
static Texture< SWCSpectrum > * | CreateSWCSpectrumTexture (const Transform &tex2world, const TextureParams &tp) |
Private Attributes | |
int | octaves |
float | omega |
TextureMapping3D * | mapping |
Definition at line 34 of file fbm.h.
virtual lux::FBmTexture< T >::~FBmTexture | ( | ) | [inline, virtual] |
Definition at line 37 of file fbm.h.
References lux::FBmTexture< T >::mapping.
lux::FBmTexture< T >::FBmTexture | ( | int | oct, | |
float | roughness, | |||
TextureMapping3D * | map | |||
) | [inline] |
Definition at line 40 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 62 of file fbm.h.
References lux::IdentityMapping3D::Apply3DTextureMappingOptions(), lux::TextureParams::FindFloat(), and lux::TextureParams::FindInt().
Texture< SWCSpectrum > * lux::FBmTexture< T >::CreateSWCSpectrumTexture | ( | const Transform & | tex2world, | |
const TextureParams & | tp | |||
) | [inline, static] |
Definition at line 74 of file fbm.h.
References lux::IdentityMapping3D::Apply3DTextureMappingOptions(), lux::TextureParams::FindFloat(), and lux::TextureParams::FindInt().
virtual T lux::FBmTexture< T >::Evaluate | ( | const TsPack * | tspack, | |
const DifferentialGeometry & | dg | |||
) | const [inline, virtual] |
Implements lux::Texture< T >.
Definition at line 45 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 58 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 56 of file fbm.h.
Referenced by lux::FBmTexture< T >::Evaluate(), and lux::FBmTexture< T >::FBmTexture().
float lux::FBmTexture< T >::omega [private] |
Definition at line 57 of file fbm.h.
Referenced by lux::FBmTexture< T >::Evaluate(), and lux::FBmTexture< T >::FBmTexture().