lux::Felt Class Reference

#include <felt.h>

Inheritance diagram for lux::Felt:

lux::Material

List of all members.

Public Member Functions

 Felt (boost::shared_ptr< Texture< float > > bump)
BSDF * GetBSDF (const DifferentialGeometry &dgGeom, const DifferentialGeometry &dgShading) const

Static Public Member Functions

static Material * CreateMaterial (const Transform &xform, const TextureParams &mp)

Public Attributes

boost::shared_ptr< Texture
< float > > 
bumpMap


Detailed Description

Definition at line 31 of file felt.h.


Constructor & Destructor Documentation

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

Definition at line 33 of file felt.h.

Referenced by CreateMaterial().


Member Function Documentation

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

Definition at line 58 of file felt.cpp.

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

BSDF * Felt::GetBSDF ( const DifferentialGeometry &  dgGeom,
const DifferentialGeometry &  dgShading 
) const


Member Data Documentation

boost::shared_ptr<Texture<float> > lux::Felt::bumpMap

Definition at line 35 of file felt.h.

Referenced by CreateMaterial(), and GetBSDF().


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

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