OgreConvolvedCubeMapRenderTechnique Class Reference

ConvolvedCubeMapRenderTechnique used in an Ogre environment. More...

Inheritance diagram for OgreConvolvedCubeMapRenderTechnique:

ConvolvedCubeMapRenderTechnique OgreRenderTechnique RenderTechnique RenderTechnique List of all members.

Public Member Functions

 OgreConvolvedCubeMapRenderTechnique (unsigned long startFrame, unsigned long cubeMapUpdateInterval, unsigned int cubeMapResolution, unsigned int reducedCubeMapResolution, unsigned char reducedTexID, bool useDistCalc, bool useFaceAngleCalc, float distTolerance, float angleTolerance, bool updateAllFace, Pass *pass, OgreRenderable *parentRenderable, OgreTechniqueGroup *parentTechniqueGroup)
 Constructor.
 ~OgreConvolvedCubeMapRenderTechnique ()
 Destructor.
void update (unsigned long frameNum)
 Updates the resources in the given frame.

Protected Member Functions

void reducedCubeMapRunChanged (RenderingRun *run)
 Called if the changed run is a ColorCubeMapRenderingRun.
void colorCubeMapRunChanged (RenderingRun *run)
 Called if the changed run is a ColorCubeMapRenderingRun.
RenderingRuncreateColorCubeMapRun ()
 Creates a ColorCubeMapRenderingRun.
RenderingRuncreateReducedCubeMapRun ()
 Creates a ColorCubeMapRenderingRun.

Protected Attributes

unsigned char reducedTexID
 the id of the texture unit state the resulting cubemap should be bound to

Detailed Description

ConvolvedCubeMapRenderTechnique used in an Ogre environment.


Constructor & Destructor Documentation

OgreConvolvedCubeMapRenderTechnique::OgreConvolvedCubeMapRenderTechnique unsigned long  startFrame,
unsigned long  cubeMapUpdateInterval,
unsigned int  cubeMapResolution,
unsigned int  reducedCubeMapResolution,
unsigned char  reducedTexID,
bool  useDistCalc,
bool  useFaceAngleCalc,
float  distTolerance,
float  angleTolerance,
bool  updateAllFace,
Pass *  pass,
OgreRenderable parentRenderable,
OgreTechniqueGroup parentTechniqueGroup
 

Constructor.

Parameters:
startFrame adds an offset to the current frame number to help evenly distribute updates between frames
cubeMapUpdateInterval update frequency
cubeMapResolution color cubemap resolution
reducedCubeMapResolution reduced sized color cubemap resolution
reducedTexID the id of the texture unit state the resulting cubemap should be bound to
useDistCalc flag to skip cube face update if object is far away
useFaceAngleCalc flag to skip cube face update if face is neglible
distTolerance distance tolerance used in face skip
angleTolerance angle tolerance used in face skip
updateAllFace defines if all cubemap faces should be updated in a frame or only one face per frame
pass the pass to operate on
parentRenderable the object to operate on
parentTechniqueGroup the TechniqueGroup this RenderedTechnique is attached to


Member Function Documentation

void OgreConvolvedCubeMapRenderTechnique::colorCubeMapRunChanged RenderingRun run  )  [protected, virtual]
 

Called if the changed run is a ColorCubeMapRenderingRun.

Parameters:
run pointer to the changed ColorCubeMapRenderingRun

Implements ConvolvedCubeMapRenderTechnique.

RenderingRun * OgreConvolvedCubeMapRenderTechnique::createColorCubeMapRun  )  [protected, virtual]
 

Creates a ColorCubeMapRenderingRun.

Returns:
the new ColorCubeMapRenderingRun instance.

Implements ConvolvedCubeMapRenderTechnique.

RenderingRun * OgreConvolvedCubeMapRenderTechnique::createReducedCubeMapRun  )  [protected, virtual]
 

Creates a ColorCubeMapRenderingRun.

Returns:
the new ColorCubeMapRenderingRun instance.

Implements ConvolvedCubeMapRenderTechnique.

void OgreConvolvedCubeMapRenderTechnique::reducedCubeMapRunChanged RenderingRun run  )  [protected, virtual]
 

Called if the changed run is a ColorCubeMapRenderingRun.

Parameters:
run pointer to the changed ColorCubeMapRenderingRun

Implements ConvolvedCubeMapRenderTechnique.

void OgreConvolvedCubeMapRenderTechnique::update unsigned long  frameNum  )  [virtual]
 

Updates the resources in the given frame.

Parameters:
frameNum the actual framenumber

Reimplemented from ConvolvedCubeMapRenderTechnique.


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