#include "pbrt.h"
#include "texture.h"
#include "mipmap.h"
#include "paramset.h"
#include <map>
Go to the source code of this file.
Classes | |
class | ImageTexture< T > |
struct | TexInfo |
Functions | |
DLLEXPORT Texture< float > * | CreateFloatTexture (const Transform &tex2world, const TextureParams &tp) |
DLLEXPORT Texture< Spectrum > * | CreateSpectrumTexture (const Transform &tex2world, const TextureParams &tp) |
DLLEXPORT Texture<float>* CreateFloatTexture | ( | const Transform & | tex2world, | |
const TextureParams & | tp | |||
) |
Definition at line 129 of file imagemap.cpp.
References Error(), TextureParams::FindBool(), TextureParams::FindFloat(), TextureParams::FindString(), TextureParams::FindVector(), Transform::GetInverse(), TEXTURE_BLACK, TEXTURE_CLAMP, and TEXTURE_REPEAT.
DLLEXPORT Texture<Spectrum>* CreateSpectrumTexture | ( | const Transform & | tex2world, | |
const TextureParams & | tp | |||
) |
Definition at line 163 of file imagemap.cpp.
References Error(), TextureParams::FindBool(), TextureParams::FindFloat(), TextureParams::FindString(), TextureParams::FindVector(), Transform::GetInverse(), TEXTURE_BLACK, TEXTURE_CLAMP, and TEXTURE_REPEAT.