Differential D149 Diff 3813 source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h
Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h
| Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | |||||
| * 3D rendering device context. | * 3D rendering device context. | ||||
| */ | */ | ||||
| class RAS_OpenGLRasterizer : public RAS_IRasterizer | class RAS_OpenGLRasterizer : public RAS_IRasterizer | ||||
| { | { | ||||
| RAS_ICanvas *m_2DCanvas; | RAS_ICanvas *m_2DCanvas; | ||||
| /* fogging vars */ | /* fogging vars */ | ||||
| bool m_fogenabled; | bool m_fogenabled; | ||||
| short m_fogtype; | |||||
| float m_fogstart; | float m_fogstart; | ||||
| float m_fogdist; | float m_fogdist; | ||||
| float m_fogintensity; | |||||
| float m_fogr; | float m_fogr; | ||||
| float m_fogg; | float m_fogg; | ||||
| float m_fogb; | float m_fogb; | ||||
| float m_redback; | float m_redback; | ||||
| float m_greenback; | float m_greenback; | ||||
| float m_blueback; | float m_blueback; | ||||
| float m_alphaback; | float m_alphaback; | ||||
| ▲ Show 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | public: | ||||
| virtual void SetProjectionMatrix(MT_CmMatrix4x4 &mat); | virtual void SetProjectionMatrix(MT_CmMatrix4x4 &mat); | ||||
| virtual void SetProjectionMatrix(const MT_Matrix4x4 &mat); | virtual void SetProjectionMatrix(const MT_Matrix4x4 &mat); | ||||
| virtual void SetViewMatrix(const MT_Matrix4x4 &mat, const MT_Matrix3x3 &ori, const MT_Point3 &pos, bool perspective); | virtual void SetViewMatrix(const MT_Matrix4x4 &mat, const MT_Matrix3x3 &ori, const MT_Point3 &pos, bool perspective); | ||||
| virtual const MT_Point3& GetCameraPosition(); | virtual const MT_Point3& GetCameraPosition(); | ||||
| virtual bool GetCameraOrtho(); | virtual bool GetCameraOrtho(); | ||||
| virtual void SetFog(float start, float dist, float r, float g, float b); | virtual void SetFog(short type, float start, float dist, float intensity, float r, float g, float b); | ||||
| virtual void SetFogColor(float r, float g, float b); | virtual void SetFogColor(float r, float g, float b); | ||||
| virtual void SetFogStart(float fogstart); | virtual void SetFogStart(float fogstart); | ||||
| virtual void SetFogEnd(float fogend); | virtual void SetFogEnd(float fogend); | ||||
| virtual void EnableFog(bool enable); | virtual void EnableFog(bool enable); | ||||
| virtual void DisplayFog(); | virtual void DisplayFog(); | ||||
| virtual bool IsFogEnabled(); | virtual bool IsFogEnabled(); | ||||
| virtual void SetBackColor(float red, float green, float blue, float alpha); | virtual void SetBackColor(float red, float green, float blue, float alpha); | ||||
| ▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines | |||||