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