#include <roughglass.h>
Public Member Functions | |
| RoughGlass (boost::shared_ptr< Texture< Spectrum > > r, boost::shared_ptr< Texture< Spectrum > > t, boost::shared_ptr< Texture< float > > urough, boost::shared_ptr< Texture< float > > vrough, boost::shared_ptr< Texture< float > > i, boost::shared_ptr< Texture< float > > cbf, 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 > > | index |
| boost::shared_ptr< Texture < float > > | cauchyb |
| boost::shared_ptr< Texture < float > > | uroughness |
| boost::shared_ptr< Texture < float > > | vroughness |
| boost::shared_ptr< Texture < float > > | bumpMap |
Definition at line 31 of file roughglass.h.
| lux::RoughGlass::RoughGlass | ( | boost::shared_ptr< Texture< Spectrum > > | r, | |
| boost::shared_ptr< Texture< Spectrum > > | t, | |||
| boost::shared_ptr< Texture< float > > | urough, | |||
| boost::shared_ptr< Texture< float > > | vrough, | |||
| boost::shared_ptr< Texture< float > > | i, | |||
| boost::shared_ptr< Texture< float > > | cbf, | |||
| boost::shared_ptr< Texture< float > > | bump | |||
| ) | [inline] |
Definition at line 34 of file roughglass.h.
References bumpMap, cauchyb, index, Kr, Kt, uroughness, and vroughness.
Referenced by CreateMaterial().
| Material * RoughGlass::CreateMaterial | ( | const Transform & | xform, | |
| const TextureParams & | mp | |||
| ) | [static] |
Definition at line 72 of file roughglass.cpp.
References bumpMap, lux::TextureParams::GetFloatTexture(), lux::TextureParams::GetSpectrumTexture(), index, Kr, Kt, RoughGlass(), uroughness, and vroughness.
| BSDF * RoughGlass::GetBSDF | ( | const DifferentialGeometry & | dgGeom, | |
| const DifferentialGeometry & | dgShading, | |||
| float | u | |||
| ) | const [virtual] |
Implements lux::Material.
Definition at line 35 of file roughglass.cpp.
References lux::BSDF::Add(), BSDF_ALLOC, lux::Material::Bump(), bumpMap, cauchyb, index, Kr, Kt, lux::DifferentialGeometry::nn, uroughness, and vroughness.
boost::shared_ptr<Texture<float> > lux::RoughGlass::bumpMap [private] |
Definition at line 55 of file roughglass.h.
Referenced by CreateMaterial(), GetBSDF(), and RoughGlass().
boost::shared_ptr<Texture<float> > lux::RoughGlass::cauchyb [private] |
Definition at line 52 of file roughglass.h.
Referenced by GetBSDF(), and RoughGlass().
boost::shared_ptr<Texture<float> > lux::RoughGlass::index [private] |
Definition at line 51 of file roughglass.h.
Referenced by CreateMaterial(), GetBSDF(), and RoughGlass().
boost::shared_ptr<Texture<Spectrum> > lux::RoughGlass::Kr [private] |
Definition at line 50 of file roughglass.h.
Referenced by CreateMaterial(), GetBSDF(), and RoughGlass().
boost::shared_ptr<Texture<Spectrum> > lux::RoughGlass::Kt [private] |
Definition at line 50 of file roughglass.h.
Referenced by CreateMaterial(), GetBSDF(), and RoughGlass().
boost::shared_ptr<Texture<float> > lux::RoughGlass::uroughness [private] |
Definition at line 53 of file roughglass.h.
Referenced by CreateMaterial(), GetBSDF(), and RoughGlass().
boost::shared_ptr<Texture<float> > lux::RoughGlass::vroughness [private] |
Definition at line 54 of file roughglass.h.
Referenced by CreateMaterial(), GetBSDF(), and RoughGlass().
1.6.1