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

RenderCubeMapColorDistancePass Class Reference

Generates a CubeMap to store color and distance information about the surrounding of the entity. More...

#include <RenderCubeMapColorDistancePass.h>

Inheritance diagram for RenderCubeMapColorDistancePass:

ManagedOgreRenderTexturePass List of all members.

Public Member Functions

 RenderCubeMapColorDistancePass (Root *mRoot, const String &renderTextureName, unsigned int width, unsigned int height, TextureType texType=TEX_TYPE_2D, PixelFormat internalFormat=PF_X8R8G8B8, const NameValuePairList *miscParams=0, bool fullScreenQuadRenderer=false)
 Constructor.
 ~RenderCubeMapColorDistancePass ()
 Destructor.

Protected Member Functions

Vector3 getLightPos3f ()
 Returns the value of g_vLightPos3f.
Matrix4 getWorldView ()
 Returns the value of g_mWorldView matrix.
Matrix4 getWorldViewProj ()
 Returns the value of g_mWorldViewProj matrix.
void onRenderEnd (NameValuePairList *namedParams=0)
void onRenderStart (NameValuePairList *namedParams=0)
void setLightPos3f (Vector3 vector3)
 Sets the value of g_vLightPos3f.
void setWorldView (Matrix4 matrix4)
 Sets the value of g_mWorldView matrix.
void setWorldViewProj (Matrix4 matrix4)
 Sets the value of g_mWorldViewProj matrix.

Private Attributes

Matrix4 g_mWorldView
 Contains the worldView matrix.
Matrix4 g_mWorldViewProj
 Contains the WoldViewProj matrix.
Vector3 g_vLightPos3f
 Contains the position of the Light.

Detailed Description

Generates a CubeMap to store color and distance information about the surrounding of the entity.

SuperClass: ManagedOgreRenderTexturePass Class: RenderCubeMapColorDistancePass The instances of this class are to generate a cubemap texture. The resulting texture is a PF_FLOAT32_RGBA type texture.


Constructor & Destructor Documentation

RenderCubeMapColorDistancePass Root *  mRoot,
const String &  renderTextureName,
unsigned int  width,
unsigned int  height,
TextureType  texType = TEX_TYPE_2D,
PixelFormat  internalFormat = PF_X8R8G8B8,
const NameValuePairList *  miscParams = 0,
bool  fullScreenQuadRenderer = false
 

Constructor.

Constructor.

Parameters:
mRoot Root, The root class of the Ogre system.
renderTextureName String, The target of the rendering.
width int, The width of the texture.
height int, The height of the texture.
texType TextureType, Texure type.
internalFormat PixelFormat, Format of the pixel.
miscParams NameValuePairList, Pairs for names and values.
fullScreenQuadRenderer bool, Do we render a full screen quad.

~RenderCubeMapColorDistancePass  )  [inline]
 

Destructor.


Member Function Documentation

Vector3 getLightPos3f  )  [protected]
 

Returns the value of g_vLightPos3f.

Matrix4 getWorldView  )  [protected]
 

Returns the value of g_mWorldView matrix.

Matrix4 getWorldViewProj  )  [protected]
 

Returns the value of g_mWorldViewProj matrix.

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

Runs after the render-texture object is updated place all cleanup code here.

Parameters:
namedParams Contains named parameters for rendering end.

Reimplemented from ManagedOgreRenderTexturePass.

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

Runs before the render-texture object is updated place all shader setup here.

Parameters:
namedParams A list of named parameters for rendering setup.

Reimplemented from ManagedOgreRenderTexturePass.

void setLightPos3f Vector3  vector3  )  [protected]
 

Sets the value of g_vLightPos3f.

Parameters:
vector3 Contains the new value of g_vLightPos3f.

void setWorldView Matrix4  matrix4  )  [protected]
 

Sets the value of g_mWorldView matrix.

Parameters:
matrix4 Contains the new value of g_mWorldView matrix.

void setWorldViewProj Matrix4  matrix4  )  [protected]
 

Sets the value of g_mWorldViewProj matrix.

Parameters:
matrix4 Contains the new value of g_mWorldViewProj matrix.


Member Data Documentation

Matrix4 g_mWorldView [private]
 

Contains the worldView matrix.

Matrix4 g_mWorldViewProj [private]
 

Contains the WoldViewProj matrix.

Vector3 g_vLightPos3f [private]
 

Contains the position of the Light.


The documentation for this class was generated from the following file:
Generated on Mon Apr 18 10:59:28 2005 for OGRE_IllumModule by  doxygen 1.4.2