texture.h File Reference

#include "pbrt.h"
#include "spectrum.h"
#include "geometry.h"
#include "transform.h"
#include "memory.h"

Go to the source code of this file.

Classes

class  TextureMapping2D
class  UVMapping2D
class  SphericalMapping2D
class  CylindricalMapping2D
class  PlanarMapping2D
class  TextureMapping3D
class  IdentityMapping3D
class  Texture< T >

Functions

float Lanczos (float, float tau=2)
float Noise (float x, float y=.5f, float z=.5f)
float Noise (const Point &P)
float FBm (const Point &P, const Vector &dpdx, const Vector &dpdy, float omega, int octaves)
float Turbulence (const Point &P, const Vector &dpdx, const Vector &dpdy, float omega, int octaves)

Function Documentation

float FBm ( const Point P,
const Vector dpdx,
const Vector dpdy,
float  omega,
int  octaves 
)
float Lanczos ( float  ,
float  tau = 2 
)

Definition at line 253 of file texture.cpp.

References M_PI.

Referenced by MIPMap< RGBSpectrum >::resampleWeights().

float Noise ( const Point P  ) 

Definition at line 193 of file texture.cpp.

References Noise(), Point::x, Point::y, and Point::z.

float Noise ( float  x,
float  y = .5f,
float  z = .5f 
)

Definition at line 163 of file texture.cpp.

References Floor2Int(), Grad(), Lerp(), NOISE_PERM_SIZE, and NoiseWeight().

Referenced by DotsTexture< T >::Evaluate(), FBm(), Noise(), and Turbulence().

float Turbulence ( const Point P,
const Vector dpdx,
const Vector dpdy,
float  omega,
int  octaves 
)
Generated on Sat Aug 28 20:00:12 2010 for pbrt by  doxygen 1.6.3