#include <fbm.h>
Public Member Functions | |
~FBmTexture () | |
FBmTexture (int oct, float roughness, TextureMapping3D *map) | |
T | Evaluate (const DifferentialGeometry &dg) const |
Private Attributes | |
float | omega |
int | octaves |
TextureMapping3D * | mapping |
Definition at line 37 of file fbm.h.
FBmTexture< T >::~FBmTexture | ( | ) | [inline] |
Definition at line 40 of file fbm.h.
References FBmTexture< T >::mapping.
FBmTexture< T >::FBmTexture | ( | int | oct, | |
float | roughness, | |||
TextureMapping3D * | map | |||
) | [inline] |
T FBmTexture< T >::Evaluate | ( | const DifferentialGeometry & | dg | ) | const [inline, virtual] |
Implements Texture< T >.
Definition at line 45 of file fbm.h.
References FBm(), TextureMapping3D::Map(), FBmTexture< T >::mapping, FBmTexture< T >::octaves, FBmTexture< T >::omega, and P.
TextureMapping3D* FBmTexture< T >::mapping [private] |
Definition at line 54 of file fbm.h.
Referenced by FBmTexture< T >::Evaluate(), and FBmTexture< T >::~FBmTexture().
int FBmTexture< T >::octaves [private] |
Definition at line 53 of file fbm.h.
Referenced by FBmTexture< T >::Evaluate().
float FBmTexture< T >::omega [private] |
Definition at line 52 of file fbm.h.
Referenced by FBmTexture< T >::Evaluate().