checkerboard.cpp File Reference

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

Go to the source code of this file.

Classes

class  Checkerboard2D< T >
class  Checkerboard3D< T >

Defines

#define BUMPINT(x)
#define SQRT_SAMPLES   4
#define N_SAMPLES   (SQRT_SAMPLES * SQRT_SAMPLES)
#define N_SAMPLES   4

Enumerations

enum  { NONE, SUPERSAMPLE, CLOSEDFORM }

Functions

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

Variables

enum { ... }  aaMethod


Define Documentation

#define BUMPINT (  ) 

Value:

(Floor2Int((x)/2) + \
                                 2.f * max((x/2)-Floor2Int(x/2) - .5f, 0.f))

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

#define N_SAMPLES   4

#define N_SAMPLES   (SQRT_SAMPLES * SQRT_SAMPLES)

#define SQRT_SAMPLES   4


Enumeration Type Documentation

anonymous enum

Enumerator:
NONE 
SUPERSAMPLE 
CLOSEDFORM 

Definition at line 31 of file checkerboard.cpp.


Function Documentation

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

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


Variable Documentation

enum { ... } aaMethod


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