#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) |
Definition at line 210 of file texture.cpp.
References Floor2Int(), lambda(), Vector::LengthSquared(), Log2(), Noise(), and SmoothStep().
Referenced by WindyTexture< T >::Evaluate(), MarbleTexture::Evaluate(), and FBmTexture< T >::Evaluate().
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 | ) |
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 | |||
) |
Definition at line 230 of file texture.cpp.
References Floor2Int(), lambda(), Vector::LengthSquared(), Log2(), Noise(), and SmoothStep().
Referenced by WrinkledTexture< T >::Evaluate().