Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

LightProbe Class Reference

Class representing a light probe (environment map). More...

#include <lightprobe.h>

List of all members.

Public Member Functions

 LightProbe ()
 Default constructor.
 LightProbe (const std::string &filename)
 Constructor loading a light probe from the given filename.
virtual ~LightProbe ()
 Destructor.
void load (const std::string &filename)
 Loads a light probe from the given filename.
Color getRadiance (const Vector &d) const
 Returns the radiance for direction d.

Protected Attributes

Image mProbe
 The image where the light probe is stored.


Detailed Description

Class representing a light probe (environment map).

The light probes are stored as high-dynamic range OpenEXR (.exr) files in angular format, which represent the radiance in each world space direction. The radiance in a specific direction is returned by the getRadiance() function.


The documentation for this class was generated from the following files:
Generated on Sun Mar 26 19:14:12 2006 for ASR by  doxygen 1.4.4