#include "stdafx.h"
#include "textures/checkerboard.h"
Go to the source code of this file.
Functions | |
Texture< float > * | CreateCheckerboardFloatTexture (const Transform &tex2world, const TextureParams &tp) |
Texture< Spectrum > * | CreateCheckerboardSpectrumTexture (const Transform &tex2world, const TextureParams &tp) |
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().