torque Torque Game Engine Documentation
TGE Version 1.5.2

sgLightingModelGLBase Class Reference

#include <sgLightingModel.h>

Inheritance diagram for sgLightingModelGLBase:

Inheritance graph
[legend]

Public Member Functions

virtual void sgSetState (LightInfo *light)
virtual void sgLightingGL (S32 gllight)
virtual void sgInitStateLM ()
virtual void sgLightingLM (const Point3F &point, VectorF normal, ColorF &diffuse, ColorF &ambient, Point3F &lightingnormal)
virtual F32 sgScoreLight (LightInfo *light, const SphereF &sphere)
virtual bool sgCanIlluminate (const Box3F &box)
virtual F32 sgGetMaxRadius (bool speedoverquality=false, bool glstyle=false)
virtual Point3F sgGetModelInfo ()

Protected Attributes

F32 sgConstantAttenuation
F32 sgLinearAttenuation
F32 sgQuadraticAttenuation
F32 spotanglecos
F32 spotamountinner
F32 spotamountouter
Point4F sgLightParamDiffuse
Point4F sgLightParamAmbient
Point4F sgLightParamPosition
Point4F sgLightParamDirection

Member Function Documentation

virtual void sgLightingModelGLBase::sgLightingGL ( S32  gllight  )  [virtual]

Reimplemented from sgLightingModel.

virtual void sgLightingModelGLBase::sgInitStateLM (  )  [virtual]

Reimplemented from sgLightingModel.

Reimplemented in sgLightingModelAdvanced.

virtual void sgLightingModelGLBase::sgLightingLM ( const Point3F point,
VectorF  normal,
ColorF diffuse,
ColorF ambient,
Point3F lightingnormal 
) [virtual]

Reimplemented from sgLightingModel.

Reimplemented in sgLightingModelAdvanced.

virtual F32 sgLightingModelGLBase::sgScoreLight ( LightInfo light,
const SphereF sphere 
) [virtual]

Reimplemented from sgLightingModel.

virtual bool sgLightingModelGLBase::sgCanIlluminate ( const Box3F box  )  [virtual]

Implements sgLightingModel.

Reimplemented in sgLightingModelAdvanced.

virtual F32 sgLightingModelGLBase::sgGetMaxRadius ( bool  speedoverquality = false,
bool  glstyle = false 
) [virtual]

Implements sgLightingModel.

Reimplemented in sgLightingModelAdvanced.

virtual Point3F sgLightingModelGLBase::sgGetModelInfo (  )  [inline, virtual]

Implements sgLightingModel.


Field Documentation




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