lux::Clay Class Reference

#include <clay.h>

Inheritance diagram for lux::Clay:

lux::Material

List of all members.

Public Member Functions

 Clay (boost::shared_ptr< Texture< float > > bump)
BSDFGetBSDF (const DifferentialGeometry &dgGeom, const DifferentialGeometry &dgShading) const

Static Public Member Functions

static MaterialCreateMaterial (const Transform &xform, const TextureParams &mp)

Private Attributes

boost::shared_ptr< Texture
< float > > 
bumpMap


Detailed Description

Definition at line 31 of file clay.h.


Constructor & Destructor Documentation

lux::Clay::Clay ( boost::shared_ptr< Texture< float > >  bump  )  [inline]

Definition at line 33 of file clay.h.

Referenced by CreateMaterial().


Member Function Documentation

Material * Clay::CreateMaterial ( const Transform xform,
const TextureParams mp 
) [static]

Definition at line 58 of file clay.cpp.

References bumpMap, Clay(), and lux::TextureParams::GetFloatTexture().

BSDF * Clay::GetBSDF ( const DifferentialGeometry dgGeom,
const DifferentialGeometry dgShading 
) const


Member Data Documentation

boost::shared_ptr<Texture<float> > lux::Clay::bumpMap [private]

Definition at line 38 of file clay.h.

Referenced by CreateMaterial(), and GetBSDF().


The documentation for this class was generated from the following files:

Generated on Fri Jul 24 11:50:05 2009 for lux by  doxygen 1.5.9