#include <mattetranslucent.h>
Public Member Functions | |
MatteTranslucent (boost::shared_ptr< Texture< Spectrum > > kr, boost::shared_ptr< Texture< Spectrum > > kt, boost::shared_ptr< Texture< float > > sig, boost::shared_ptr< Texture< float > > bump) | |
BSDF * | GetBSDF (const DifferentialGeometry &dgGeom, const DifferentialGeometry &dgShading, float u) const |
Static Public Member Functions | |
static Material * | CreateMaterial (const Transform &xform, const TextureParams &mp) |
Private Attributes | |
boost::shared_ptr< Texture < Spectrum > > | Kr |
boost::shared_ptr< Texture < Spectrum > > | Kt |
boost::shared_ptr< Texture < float > > | sigma |
boost::shared_ptr< Texture < float > > | bumpMap |
Definition at line 31 of file mattetranslucent.h.
lux::MatteTranslucent::MatteTranslucent | ( | boost::shared_ptr< Texture< Spectrum > > | kr, | |
boost::shared_ptr< Texture< Spectrum > > | kt, | |||
boost::shared_ptr< Texture< float > > | sig, | |||
boost::shared_ptr< Texture< float > > | bump | |||
) | [inline] |
Definition at line 34 of file mattetranslucent.h.
References bumpMap, Kr, Kt, and sigma.
Referenced by CreateMaterial().
Material * MatteTranslucent::CreateMaterial | ( | const Transform & | xform, | |
const TextureParams & | mp | |||
) | [static] |
Definition at line 62 of file mattetranslucent.cpp.
References bumpMap, lux::TextureParams::GetFloatTexture(), lux::TextureParams::GetSpectrumTexture(), Kr, Kt, MatteTranslucent(), and sigma.
BSDF * MatteTranslucent::GetBSDF | ( | const DifferentialGeometry & | dgGeom, | |
const DifferentialGeometry & | dgShading, | |||
float | u | |||
) | const [virtual] |
Implements lux::Material.
Definition at line 33 of file mattetranslucent.cpp.
References lux::BSDF::Add(), BSDF_ALLOC, lux::Material::Bump(), bumpMap, Clamp(), Kr, Kt, lux::DifferentialGeometry::nn, and sigma.
boost::shared_ptr<Texture<float> > lux::MatteTranslucent::bumpMap [private] |
Definition at line 49 of file mattetranslucent.h.
Referenced by CreateMaterial(), GetBSDF(), and MatteTranslucent().
boost::shared_ptr<Texture<Spectrum> > lux::MatteTranslucent::Kr [private] |
Definition at line 48 of file mattetranslucent.h.
Referenced by CreateMaterial(), GetBSDF(), and MatteTranslucent().
boost::shared_ptr<Texture<Spectrum> > lux::MatteTranslucent::Kt [private] |
Definition at line 48 of file mattetranslucent.h.
Referenced by CreateMaterial(), GetBSDF(), and MatteTranslucent().
boost::shared_ptr<Texture<float> > lux::MatteTranslucent::sigma [private] |
Definition at line 49 of file mattetranslucent.h.
Referenced by CreateMaterial(), GetBSDF(), and MatteTranslucent().