torque Torque Game Engine Documentation
TGE Version 1.5.2

SceneLighting::TerrainProxy Class Reference

#include <sgSceneLighting.h>

Inheritance diagram for SceneLighting::TerrainProxy:

Inheritance graph
[legend]

Public Member Functions

 TerrainProxy (SceneObject *obj)
 ~TerrainProxy ()
TerrainBlockoperator-> ()
TerrainBlockgetObject ()
bool getShadowedSquares (const Vector< PlaneF > &, Vector< U16 > &)
void init ()
bool preLight (LightInfo *)
void light (LightInfo *)
U32 getResourceCRC ()
bool setPersistInfo (PersistInfo::PersistChunk *)
bool getPersistInfo (PersistInfo::PersistChunk *)

Private Types

typedef ObjectProxy Parent

Private Member Functions

void sgAddUniversalPoint (LightInfo *light)
void sgLightUniversalPoint (LightInfo *light, TerrainBlock *terrain)
bool sgMarkStaticShadow (void *terrainproxy, SceneObject *sceneobject, LightInfo *light)
void postLight (bool lastLight)
void lightVector (LightInfo *)
S32 testSquare (const Point3F &, const Point3F &, S32, F32, const Vector< PlaneF > &)
bool markInteriorShadow (InteriorProxy *)

Private Attributes

BitVector mShadowMask
ShadowVolumeBSPmShadowVolume
ColorFmLightmap
ColorFsgBakedLightmap
Vector< LightInfo * > sgLights

Data Structures

struct  SquareStackNode

Member Typedef Documentation


Constructor & Destructor Documentation

SceneLighting::TerrainProxy::TerrainProxy ( SceneObject obj  ) 

SceneLighting::TerrainProxy::~TerrainProxy (  ) 


Member Function Documentation

void SceneLighting::TerrainProxy::sgAddUniversalPoint ( LightInfo light  )  [private]

void SceneLighting::TerrainProxy::sgLightUniversalPoint ( LightInfo light,
TerrainBlock terrain 
) [private]

bool SceneLighting::TerrainProxy::sgMarkStaticShadow ( void terrainproxy,
SceneObject sceneobject,
LightInfo light 
) [private]

void SceneLighting::TerrainProxy::postLight ( bool  lastLight  )  [private, virtual]

Reimplemented from SceneLighting::ObjectProxy.

void SceneLighting::TerrainProxy::lightVector ( LightInfo  )  [private]

S32 SceneLighting::TerrainProxy::testSquare ( const Point3F ,
const Point3F ,
S32  ,
F32  ,
const Vector< PlaneF > &   
) [private]

bool SceneLighting::TerrainProxy::markInteriorShadow ( InteriorProxy  )  [private]

TerrainBlock* SceneLighting::TerrainProxy::operator-> (  )  [inline]

Reimplemented from SceneLighting::ObjectProxy.

TerrainBlock* SceneLighting::TerrainProxy::getObject (  )  [inline]

Reimplemented from SceneLighting::ObjectProxy.

bool SceneLighting::TerrainProxy::getShadowedSquares ( const Vector< PlaneF > &  ,
Vector< U16 > &   
)

void SceneLighting::TerrainProxy::init (  )  [virtual]

Reimplemented from SceneLighting::ObjectProxy.

bool SceneLighting::TerrainProxy::preLight ( LightInfo  )  [virtual]

Reimplemented from SceneLighting::ObjectProxy.

void SceneLighting::TerrainProxy::light ( LightInfo  )  [virtual]

Reimplemented from SceneLighting::ObjectProxy.

U32 SceneLighting::TerrainProxy::getResourceCRC (  )  [virtual]

bool SceneLighting::TerrainProxy::setPersistInfo ( PersistInfo::PersistChunk  )  [virtual]

Reimplemented from SceneLighting::ObjectProxy.

bool SceneLighting::TerrainProxy::getPersistInfo ( PersistInfo::PersistChunk  )  [virtual]

Reimplemented from SceneLighting::ObjectProxy.


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen