LEFT | RIGHT |
1 /* | 1 /* |
2 * $Id$ | 2 * $Id$ |
3 * | 3 * |
4 * ***** BEGIN GPL LICENSE BLOCK ***** | 4 * ***** BEGIN GPL LICENSE BLOCK ***** |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or | 6 * This program is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU General Public License | 7 * modify it under the terms of the GNU General Public License |
8 * as published by the Free Software Foundation; either version 2 | 8 * as published by the Free Software Foundation; either version 2 |
9 * of the License, or (at your option) any later version. | 9 * of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 MT_Matrix4x4 m_viewinvmatrix; | 86 MT_Matrix4x4 m_viewinvmatrix; |
87 MT_Point3 m_campos; | 87 MT_Point3 m_campos; |
88 bool m_camortho; | 88 bool m_camortho; |
89 | 89 |
90 StereoMode m_stereomode; | 90 StereoMode m_stereomode; |
91 StereoEye m_curreye; | 91 StereoEye m_curreye; |
92 float m_eyeseparation; | 92 float m_eyeseparation; |
93 float m_focallength; | 93 float m_focallength; |
94 bool m_setfocallength; | 94 bool m_setfocallength; |
95 int m_noOfScanlines; | 95 int m_noOfScanlines; |
| 96 |
| 97 short m_prevafvalue; |
96 | 98 |
97 //motion blur | 99 //motion blur |
98 int m_motionblur; | 100 int m_motionblur; |
99 float m_motionblurvalue; | 101 float m_motionblurvalue; |
100 | 102 |
101 protected: | 103 protected: |
102 int m_drawingmode; | 104 int m_drawingmode; |
103 TexCoGen m_texco[RAS_MAX_TEXCO]; | 105 TexCoGen m_texco[RAS_MAX_TEXCO]; |
104 TexCoGen m_attrib[RAS_MAX_ATTRIB]; | 106 TexCoGen m_attrib[RAS_MAX_ATTRIB]; |
105 int m_texco_num; | 107 int m_texco_num; |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 m_motionblur = 0; | 293 m_motionblur = 0; |
292 else if(newstate>2) | 294 else if(newstate>2) |
293 m_motionblur = 2; | 295 m_motionblur = 2; |
294 else· | 296 else· |
295 m_motionblur = newstate; | 297 m_motionblur = newstate; |
296 }; | 298 }; |
297 | 299 |
298 virtual void SetBlendingMode(int blendmode); | 300 virtual void SetBlendingMode(int blendmode); |
299 virtual void SetFrontFace(bool ccw); | 301 virtual void SetFrontFace(bool ccw); |
300 ········ | 302 ········ |
| 303 virtual void SetAnisotropicFiltering(short level); |
| 304 virtual short GetAnisotropicFiltering(); |
| 305 ········ |
| 306 ········ |
301 #ifdef WITH_CXX_GUARDEDALLOC | 307 #ifdef WITH_CXX_GUARDEDALLOC |
302 public: | 308 public: |
303 void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE
:RAS_OpenGLRasterizer"); } | 309 void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE
:RAS_OpenGLRasterizer"); } |
304 void operator delete( void *mem ) { MEM_freeN(mem); } | 310 void operator delete( void *mem ) { MEM_freeN(mem); } |
305 #endif | 311 #endif |
306 }; | 312 }; |
307 | 313 |
308 #endif //__RAS_OPENGLRASTERIZER | 314 #endif //__RAS_OPENGLRASTERIZER |
309 | 315 |
310 | 316 |
LEFT | RIGHT |