Main Page | Class Hierarchy | Class List | Directories | Class Members

RadiosityMapPass Class Reference

#include <RadiosityMapPass.h>

Inheritance diagram for RadiosityMapPass:

ManagedOgreRenderTexturePass List of all members.

Public Member Functions

 RadiosityMapPass (Root *mRoot, unsigned int width, unsigned int height)
 Constructor.
 ~RadiosityMapPass ()
void setFullScreen (bool fullScreen)
 Sets whether render to full or half screen. For hemicube shooting.
bool getFullScreen ()
 Gets whether render to full or half screen. For hemicube shooting.
float getPy ()
 Gets the shooter luminance per texture size.
void setPy (float py)
 Sets the shooter luminance per texture size.
void setLShoot (Vector4 lShoot)
 Sets the current shooter radiance. Alpha is the area of the uniform disc to shoot from.
Vector4 getLShoot ()
 Gets the current shooter radiance. Alpha is the area of the uniform disc to shoot from.

Protected Member Functions

void onRenderStart (NameValuePairList *namedParams=0)
void onRenderEnd (NameValuePairList *namedParams=0)

Detailed Description

SuperClass: ManagedOgreRenderTexturePass Class: RadiosityMapPass

Role: Renders radiosity informations to an RGBA128F texture.


Constructor & Destructor Documentation

RadiosityMapPass::RadiosityMapPass Root *  mRoot,
unsigned int  width,
unsigned int  height
 

Constructor.

Parameters:
mRoot The current ogre root object.
width The width of the render texture instance
height The height of the render texture instance

RadiosityMapPass::~RadiosityMapPass  ) 
 

Destructor.


Member Function Documentation

bool RadiosityMapPass::getFullScreen  )  [inline]
 

Gets whether render to full or half screen. For hemicube shooting.

Returns:
Render to full screen if true. Render to half screen if false.

Vector4 RadiosityMapPass::getLShoot  )  [inline]
 

Gets the current shooter radiance. Alpha is the area of the uniform disc to shoot from.

Returns:
The radiance of the current shooter. Alpha is the area of the uniform disc to shoot from.

float RadiosityMapPass::getPy  )  [inline]
 

Gets the shooter luminance per texture size.

Returns:
The shooter luminance per texture size.

void RadiosityMapPass::onRenderEnd NameValuePairList *  namedParams = 0  )  [protected, virtual]
 

See also:
ManagedOgreRenderTexturePass::onRenderEnd()

Reimplemented from ManagedOgreRenderTexturePass.

void RadiosityMapPass::onRenderStart NameValuePairList *  namedParams = 0  )  [protected, virtual]
 

See also:
ManagedOgreRenderTexturePass::onRenderStart()

Reimplemented from ManagedOgreRenderTexturePass.

void RadiosityMapPass::setFullScreen bool  fullScreen  )  [inline]
 

Sets whether render to full or half screen. For hemicube shooting.

Parameters:
fullScreen Render to full screen if true. Render to half screen if false.

void RadiosityMapPass::setLShoot Vector4  lShoot  )  [inline]
 

Sets the current shooter radiance. Alpha is the area of the uniform disc to shoot from.

Parameters:
lShoot The radiance. Alpha is the area of the uniform disc to shoot from.

void RadiosityMapPass::setPy float  py  )  [inline]
 

Sets the shooter luminance per texture size.

Parameters:
py The shooter luminance per texture size.


The documentation for this class was generated from the following file:
Generated on Mon Apr 18 09:57:36 2005 for OGRE_IllumModule by  doxygen 1.4.2