checkerboard.h File Reference

#include "lux.h"
#include "texture.h"
#include "paramset.h"
#include "sampling.h"
#include "shape.h"
#include "error.h"

Go to the source code of this file.

Classes

class  lux::Checkerboard2D< T >
class  lux::Checkerboard3D< T >

Namespaces

namespace  lux
namespace  lux::Checkerboard

Defines

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

Enumerations

enum  lux::MethodType { lux::NONE, lux::SUPERSAMPLE, lux::CLOSEDFORM }

Functions

Texture< float > * lux::Checkerboard::CreateFloatTexture (const Transform &tex2world, const TextureParams &tp)
Texture< Spectrum > * lux::Checkerboard::CreateSpectrumTexture (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 lux::Checkerboard2D< T >::Evaluate().

#define N_SAMPLES   4

#define N_SAMPLES   (SQRT_SAMPLES * SQRT_SAMPLES)

#define SQRT_SAMPLES   4


Generated on Mon May 18 07:19:14 2009 for lux by  doxygen 1.5.7.1