checkerboard.h File Reference

#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 Documentation

#define BUMPINT (  ) 
Value:
(Floor2Int((x)/2) + \
                 2.f * max((x/2)-Floor2Int(x/2) - .5f, 0.f))

Referenced by Checkerboard2DTexture< T >::Evaluate().


Function Documentation

Texture<float>* CreateCheckerboardFloatTexture ( const Transform tex2world,
const TextureParams tp 
)
Texture<Spectrum>* CreateCheckerboardSpectrumTexture ( const Transform tex2world,
const TextureParams tp 
)
Generated on Sat Aug 28 20:00:12 2010 for pbrt by  doxygen 1.6.3