Rev | Line | |
---|
[32] | 1 | #ifndef _TerrainOcclusionCullingSceneManager_H__
|
---|
| 2 | #define _TerrainOcclusionCullingSceneManager_H__
|
---|
| 3 |
|
---|
| 4 | #include "OgreSceneNode.h"
|
---|
| 5 | #include "OgreTerrainSceneManager.h"
|
---|
| 6 | //#include "OgreOcclusionCullingSceneManager.h"
|
---|
| 7 | #include "OgrePrerequisites.h"
|
---|
| 8 | //#include "OgreSolidHalfBoundingBox.h"
|
---|
| 9 |
|
---|
| 10 | using namespace std; |
---|
| 11 | |
---|
| 12 | namespace Ogre { |
---|
| 13 |
|
---|
| 14 | /**
|
---|
| 15 | Class which implements a scene mangager which uses occlusion queries for culling occluded objects
|
---|
| 16 | */
|
---|
| 17 | class TerrainOcclusionCullingSceneManager: public TerrainSceneManager
|
---|
| 18 | {
|
---|
| 19 | public:
|
---|
| 20 | TerrainOcclusionCullingSceneManager();
|
---|
| 21 | //~OcclusionCullingSceneManager();
|
---|
| 22 |
|
---|
| 23 | /* void _renderVisibleObjects(void);
|
---|
| 24 | void _findVisibleObjects(Camera* cam, bool onlyShadowCasters);
|
---|
| 25 | void _updateSceneGraph(Camera* cam);
|
---|
| 26 | */
|
---|
| 27 | /** Sets the given option for the SceneManager
|
---|
| 28 | @remarks
|
---|
| 29 | Options are:
|
---|
| 30 | "Algorithm", int *;
|
---|
| 31 | */
|
---|
| 32 | // virtual bool setOption( const String &, const void * );
|
---|
| 33 | /** Gets the given option for the Scene Manager.
|
---|
| 34 | @remarks
|
---|
| 35 | See setOption
|
---|
| 36 | */
|
---|
| 37 | /* virtual bool getOption( const String &, void * );
|
---|
| 38 |
|
---|
| 39 | bool getOptionValues( const String & key, StringVector &refValueList );
|
---|
| 40 | bool getOptionKeys( StringVector &refKeys );*/
|
---|
| 41 |
|
---|
| 42 | };
|
---|
| 43 |
|
---|
| 44 | }
|
---|
| 45 | #endif // TERRAINOCCLUSIONCULLINGSCENEMANAGER_H |
---|
Note: See
TracBrowser
for help on using the repository browser.