#include "pbrt.h"
#include "texture.h"
#include "paramset.h"
#include "montecarlo.h"
#include "shape.h"
#include "parallel.h"
#include "progressreporter.h"
Go to the source code of this file.
Classes | |
class | Checkerboard2DTexture< T > |
class | Checkerboard3DTexture< T > |
Defines | |
#define | BUMPINT(x) |
Functions | |
Texture< float > * | CreateCheckerboardFloatTexture (const Transform &tex2world, const TextureParams &tp) |
Texture< Spectrum > * | CreateCheckerboardSpectrumTexture (const Transform &tex2world, const TextureParams &tp) |
#define BUMPINT | ( | x | ) |
Referenced by Checkerboard2DTexture< T >::Evaluate().
Texture<float>* CreateCheckerboardFloatTexture | ( | const Transform & | tex2world, | |
const TextureParams & | tp | |||
) |
Definition at line 30 of file checkerboard.cpp.
References Error(), TextureParams::FindFloat(), TextureParams::FindInt(), TextureParams::FindString(), TextureParams::FindVector(), TextureParams::GetFloatTexture(), and Inverse().
Referenced by MakeFloatTexture().
Texture<Spectrum>* CreateCheckerboardSpectrumTexture | ( | const Transform & | tex2world, | |
const TextureParams & | tp | |||
) |
Definition at line 72 of file checkerboard.cpp.
References Error(), TextureParams::FindFloat(), TextureParams::FindInt(), TextureParams::FindString(), TextureParams::FindVector(), TextureParams::GetSpectrumTexture(), and Inverse().
Referenced by MakeSpectrumTexture().