marble.cpp File Reference

#include "pbrt.h"
#include "texture.h"
#include "paramset.h"

Go to the source code of this file.

Classes

class  MarbleTexture

Defines

#define NC   sizeof(c) / sizeof(c[0])
#define NSEG   (NC-3)

Functions

DLLEXPORT Texture< float > * CreateFloatTexture (const Transform &tex2world, const TextureParams &tp)
DLLEXPORT Texture< Spectrum > * CreateSpectrumTexture (const Transform &tex2world, const TextureParams &tp)


Define Documentation

#define NC   sizeof(c) / sizeof(c[0])

#define NSEG   (NC-3)

Referenced by MarbleTexture::Evaluate().


Function Documentation

DLLEXPORT Texture<float>* CreateFloatTexture ( const Transform tex2world,
const TextureParams tp 
)

Definition at line 75 of file marble.cpp.

DLLEXPORT Texture<Spectrum>* CreateSpectrumTexture ( const Transform tex2world,
const TextureParams tp 
)

Definition at line 80 of file marble.cpp.

References TextureParams::FindFloat(), and TextureParams::FindInt().


Generated on Mon Jul 20 17:31:54 2009 for pbrt by  doxygen 1.5.6