#include <glass.h>
Public Member Functions | |
| Glass (boost::shared_ptr< Texture< Spectrum > > r, boost::shared_ptr< Texture< Spectrum > > t, boost::shared_ptr< Texture< float > > i, boost::shared_ptr< Texture< float > > cbf, bool archi, 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 > > | bumpMap |
| bool | architectural |
Definition at line 31 of file glass.h.
| lux::Glass::Glass | ( | boost::shared_ptr< Texture< Spectrum > > | r, | |
| boost::shared_ptr< Texture< Spectrum > > | t, | |||
| boost::shared_ptr< Texture< float > > | i, | |||
| boost::shared_ptr< Texture< float > > | cbf, | |||
| bool | archi, | |||
| boost::shared_ptr< Texture< float > > | bump | |||
| ) | [inline] |
Definition at line 34 of file glass.h.
References architectural, bumpMap, cauchyb, index, Kr, and Kt.
Referenced by CreateMaterial().
| Material * Glass::CreateMaterial | ( | const Transform & | xform, | |
| const TextureParams & | mp | |||
| ) | [static] |
Definition at line 60 of file glass.cpp.
References bumpMap, lux::TextureParams::FindBool(), lux::TextureParams::GetFloatTexture(), lux::TextureParams::GetSpectrumTexture(), Glass(), index, Kr, and Kt.
| BSDF * Glass::GetBSDF | ( | const DifferentialGeometry & | dgGeom, | |
| const DifferentialGeometry & | dgShading, | |||
| float | u | |||
| ) | const [virtual] |
Implements lux::Material.
Definition at line 34 of file glass.cpp.
References lux::BSDF::Add(), architectural, BSDF_ALLOC, lux::Material::Bump(), bumpMap, cauchyb, index, Kr, Kt, and lux::DifferentialGeometry::nn.
bool lux::Glass::architectural [private] |
boost::shared_ptr<Texture<float> > lux::Glass::bumpMap [private] |
Definition at line 51 of file glass.h.
Referenced by CreateMaterial(), GetBSDF(), and Glass().
boost::shared_ptr<Texture<float> > lux::Glass::cauchyb [private] |
boost::shared_ptr<Texture<float> > lux::Glass::index [private] |
Definition at line 49 of file glass.h.
Referenced by CreateMaterial(), GetBSDF(), and Glass().
boost::shared_ptr<Texture<Spectrum> > lux::Glass::Kr [private] |
Definition at line 48 of file glass.h.
Referenced by CreateMaterial(), GetBSDF(), and Glass().
boost::shared_ptr<Texture<Spectrum> > lux::Glass::Kt [private] |
Definition at line 48 of file glass.h.
Referenced by CreateMaterial(), GetBSDF(), and Glass().
1.6.1