lux::UberMaterial Class Reference

#include <uber.h>

Inheritance diagram for lux::UberMaterial:

lux::Material

List of all members.

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)
BSDFGetBSDF (const DifferentialGeometry &dgGeom, const DifferentialGeometry &dgShading) const

Static Public Member Functions

static MaterialCreateMaterial (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


Detailed Description

Definition at line 31 of file uber.h.


Constructor & Destructor Documentation

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]

Definition at line 34 of file uber.h.

References bumpMap, Kd, Kr, Ks, opacity, and roughness.

Referenced by CreateMaterial().


Member Function Documentation

Material * UberMaterial::CreateMaterial ( const Transform xform,
const TextureParams mp 
) [static]

BSDF * UberMaterial::GetBSDF ( const DifferentialGeometry dgGeom,
const DifferentialGeometry dgShading 
) const


Member Data Documentation

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().


The documentation for this class was generated from the following files:

Generated on Fri Jul 24 11:50:05 2009 for lux by  doxygen 1.5.9