PhotonMapRenderingRun Class Reference

Base abstract class that defines a rendering process of a photon hit map. More...

Inheritance diagram for PhotonMapRenderingRun:

RenderingRun OgrePhotonMapRenderingRun List of all members.

Public Member Functions

 PhotonMapRenderingRun (unsigned long startFrame, unsigned long updateInterval)
 Constructor.

Protected Member Functions

virtual void updateFrame (unsigned long frameNum)=0
 This function does the actual update in a frame.
virtual void createPhotonMap ()=0
 Creates a photon hit map.

Detailed Description

Base abstract class that defines a rendering process of a photon hit map.

A photon hit map stores the directions where the incoming photons are refracted by a caustic emitter object. One pixel of the photon map represents one photon hit, hte direction is encoded in the RGB channels. If the alpha channel has zero value, the hit is invalid.


Constructor & Destructor Documentation

PhotonMapRenderingRun::PhotonMapRenderingRun unsigned long  startFrame,
unsigned long  updateInterval
[inline]
 

Constructor.

Parameters:
startFrame adds an offset to the current frame number to help evenly distribute updates between frames
updateInterval update frequency


Member Function Documentation

virtual void PhotonMapRenderingRun::updateFrame unsigned long  frameNum  )  [protected, pure virtual]
 

This function does the actual update in a frame.

Parameters:
frameNum current frame number

Reimplemented from RenderingRun.

Implemented in OgrePhotonMapRenderingRun.


The documentation for this class was generated from the following file:
Generated on Thu Apr 27 17:29:42 2006 for GameTools Illumination Module by  doxygen 1.4.6-NO