DepthShadowMapRenderingRun Class Reference

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

Inheritance diagram for DepthShadowMapRenderingRun:

RenderingRun OgreDepthShadowMapRenderingRun List of all members.

Public Member Functions

 DepthShadowMapRenderingRun (unsigned int resolutionX, unsigned int resolutionY)
 Constructor.

Protected Member Functions

virtual void createDepthMap ()=0
 Creates the depth map texture (2D or CUBE according to light type).
virtual void updateDepthCubeFace (int facenum)=0
 Updates one face of the depth cubemap (used only in case of point lights).
virtual void updateDepthMap ()=0
 Updates the depth map (in case of directional and spot lights).
virtual void updateFrame (unsigned long frameNum)=0
 This function does the actual update in a frame.

Protected Attributes

unsigned int resolutionX
 width of the depth map texture
unsigned int resolutionY
 height of the depth map texture

Detailed Description

Base abstract class that defines a rendering process of a shadow map.

A shadow map stores depth values from the lightsource.


Constructor & Destructor Documentation

DepthShadowMapRenderingRun::DepthShadowMapRenderingRun unsigned int  resolutionX,
unsigned int  resolutionY
[inline]
 

Constructor.

Parameters:
resolutionX width of the depth map texture
resolutionY height of the depth map texture


Member Function Documentation

virtual void DepthShadowMapRenderingRun::updateDepthCubeFace int  facenum  )  [inline, protected, pure virtual]
 

Updates one face of the depth cubemap (used only in case of point lights).

Parameters:
facenum the number of the face to be updated

Implemented in OgreDepthShadowMapRenderingRun.

virtual void DepthShadowMapRenderingRun::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 OgreDepthShadowMapRenderingRun.


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