#include <uber.h>

Public Member Functions | |
| UberMaterial (boost::shared_ptr< Texture< Spectrum > > kd, boost::shared_ptr< Texture< Spectrum > > ks, boost::shared_ptr< Texture< Spectrum > > kr, boost::shared_ptr< Texture< float > > rough, boost::shared_ptr< Texture< Spectrum > > op, 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) |
Private Attributes | |
| boost::shared_ptr< Texture < Spectrum > > | Kd |
| boost::shared_ptr< Texture < Spectrum > > | Ks |
| boost::shared_ptr< Texture < Spectrum > > | Kr |
| boost::shared_ptr< Texture < Spectrum > > | opacity |
| boost::shared_ptr< Texture < float > > | roughness |
| boost::shared_ptr< Texture < float > > | bumpMap |
Definition at line 31 of file uber.h.
| lux::UberMaterial::UberMaterial | ( | boost::shared_ptr< Texture< Spectrum > > | kd, | |
| boost::shared_ptr< Texture< Spectrum > > | ks, | |||
| boost::shared_ptr< Texture< Spectrum > > | kr, | |||
| boost::shared_ptr< Texture< float > > | rough, | |||
| boost::shared_ptr< Texture< Spectrum > > | op, | |||
| boost::shared_ptr< Texture< float > > | bump | |||
| ) | [inline] |
| Material * UberMaterial::CreateMaterial | ( | const Transform & | xform, | |
| const TextureParams & | mp | |||
| ) | [static] |
Definition at line 79 of file uber.cpp.
References bumpMap, lux::TextureParams::GetFloatTexture(), lux::TextureParams::GetSpectrumTexture(), Kd, Kr, Ks, opacity, roughness, and UberMaterial().
| BSDF * UberMaterial::GetBSDF | ( | const DifferentialGeometry & | dgGeom, | |
| const DifferentialGeometry & | dgShading | |||
| ) | const |
Definition at line 37 of file uber.cpp.
References lux::BSDF::Add(), BSDF_ALLOC, lux::Material::Bump(), bumpMap, Kd, Kr, Ks, lux::DifferentialGeometry::nn, opacity, and roughness.
boost::shared_ptr<Texture<float> > lux::UberMaterial::bumpMap [private] |
Definition at line 54 of file uber.h.
Referenced by CreateMaterial(), GetBSDF(), and UberMaterial().
boost::shared_ptr<Texture<Spectrum> > lux::UberMaterial::Kd [private] |
Definition at line 52 of file uber.h.
Referenced by CreateMaterial(), GetBSDF(), and UberMaterial().
boost::shared_ptr<Texture<Spectrum> > lux::UberMaterial::Kr [private] |
Definition at line 52 of file uber.h.
Referenced by CreateMaterial(), GetBSDF(), and UberMaterial().
boost::shared_ptr<Texture<Spectrum> > lux::UberMaterial::Ks [private] |
Definition at line 52 of file uber.h.
Referenced by CreateMaterial(), GetBSDF(), and UberMaterial().
boost::shared_ptr<Texture<Spectrum> > lux::UberMaterial::opacity [private] |
Definition at line 52 of file uber.h.
Referenced by CreateMaterial(), GetBSDF(), and UberMaterial().
boost::shared_ptr<Texture<float> > lux::UberMaterial::roughness [private] |
Definition at line 53 of file uber.h.
Referenced by CreateMaterial(), GetBSDF(), and UberMaterial().
1.5.9