#include <mattetranslucent.h>
Public Member Functions | |
MatteTranslucent (boost::shared_ptr< Texture< SWCSpectrum > > kr, boost::shared_ptr< Texture< SWCSpectrum > > kt, boost::shared_ptr< Texture< float > > sig, boost::shared_ptr< Texture< float > > bump, const CompositingParams &cp) | |
virtual | ~MatteTranslucent () |
virtual BSDF * | GetBSDF (const TsPack *tspack, const DifferentialGeometry &dgGeom, const DifferentialGeometry &dgShading) const |
Static Public Member Functions | |
static Material * | CreateMaterial (const Transform &xform, const TextureParams &mp) |
Private Attributes | |
boost::shared_ptr< Texture < SWCSpectrum > > | Kr |
boost::shared_ptr< Texture < SWCSpectrum > > | 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< SWCSpectrum > > | kr, | |
boost::shared_ptr< Texture< SWCSpectrum > > | kt, | |||
boost::shared_ptr< Texture< float > > | sig, | |||
boost::shared_ptr< Texture< float > > | bump, | |||
const CompositingParams & | cp | |||
) | [inline] |
Definition at line 34 of file mattetranslucent.h.
References bumpMap, lux::Material::compParams, Kr, Kt, and sigma.
Referenced by CreateMaterial().
virtual lux::MatteTranslucent::~MatteTranslucent | ( | ) | [inline, virtual] |
Definition at line 43 of file mattetranslucent.h.
Material * MatteTranslucent::CreateMaterial | ( | const Transform & | xform, | |
const TextureParams & | mp | |||
) | [static] |
Definition at line 69 of file mattetranslucent.cpp.
References bumpMap, lux::Material::FindCompositingParams(), lux::TextureParams::GetFloatTexture(), lux::TextureParams::GetSWCSpectrumTexture(), Kr, Kt, MatteTranslucent(), and sigma.
BSDF * MatteTranslucent::GetBSDF | ( | const TsPack * | tspack, | |
const DifferentialGeometry & | dgGeom, | |||
const DifferentialGeometry & | dgShading | |||
) | const [virtual] |
Implements lux::Material.
Definition at line 34 of file mattetranslucent.cpp.
References lux::MultiBSDF::Add(), lux::SWCSpectrum::Black(), BSDF_ALLOC, lux::Material::Bump(), bumpMap, Clamp(), lux::Material::compParams, Kr, Kt, lux::DifferentialGeometry::nn, lux::BSDF::SetCompositingParams(), and sigma.
boost::shared_ptr<Texture<float> > lux::MatteTranslucent::bumpMap [private] |
Definition at line 51 of file mattetranslucent.h.
Referenced by CreateMaterial(), GetBSDF(), and MatteTranslucent().
boost::shared_ptr<Texture<SWCSpectrum> > lux::MatteTranslucent::Kr [private] |
Definition at line 50 of file mattetranslucent.h.
Referenced by CreateMaterial(), GetBSDF(), and MatteTranslucent().
boost::shared_ptr<Texture<SWCSpectrum> > lux::MatteTranslucent::Kt [private] |
Definition at line 50 of file mattetranslucent.h.
Referenced by CreateMaterial(), GetBSDF(), and MatteTranslucent().
boost::shared_ptr<Texture<float> > lux::MatteTranslucent::sigma [private] |
Definition at line 51 of file mattetranslucent.h.
Referenced by CreateMaterial(), GetBSDF(), and MatteTranslucent().