1 | #include "OgreTerrainOcclusionCullingSceneManager.h"
|
---|
2 | #include "OgreMath.h"
|
---|
3 | #include "OgreIteratorWrappers.h"
|
---|
4 | #include "OgreRenderSystem.h"
|
---|
5 | #include "OgreCamera.h"
|
---|
6 | #include "OgreHardwareOcclusionQuery.h"
|
---|
7 | //#include "OgreWireBoundingBox.h"
|
---|
8 | #include "OgreSolidHalfBoundingBox.h"
|
---|
9 |
|
---|
10 | #include <windows.h>
|
---|
11 |
|
---|
12 | namespace Ogre {
|
---|
13 | //-----------------------------------------------------------------------
|
---|
14 | TerrainOcclusionCullingSceneManager::TerrainOcclusionCullingSceneManager()
|
---|
15 | {
|
---|
16 | }
|
---|
17 | /*//-----------------------------------------------------------------------
|
---|
18 | void TerrainOcclusionCullingSceneManager::_renderVisibleObjects(void)
|
---|
19 | {
|
---|
20 | //OcclusionCullingSceneManager::_renderVisibleObjects();
|
---|
21 | }
|
---|
22 | //-----------------------------------------------------------------------
|
---|
23 | void TerrainOcclusionCullingSceneManager::_findVisibleObjects(Camera* cam, bool onlyShadowCasters)
|
---|
24 | {
|
---|
25 | }
|
---|
26 | //-----------------------------------------------------------------------
|
---|
27 | void TerrainOcclusionCullingSceneManager::_updateSceneGraph(Camera* cam)
|
---|
28 | {
|
---|
29 | // OcclusionCullingSceneManager::_updateSceneGraph(cam);
|
---|
30 | // TerrainSceneManager::_updateSceneGraph(cam);
|
---|
31 | }
|
---|
32 | //-----------------------------------------------------------------------
|
---|
33 | bool TerrainOcclusionCullingSceneManager::setOption( const String & key, const void * val )
|
---|
34 | {
|
---|
35 | return TerrainSceneManager::setOption( key, val );
|
---|
36 | }
|
---|
37 | //-----------------------------------------------------------------------
|
---|
38 | bool TerrainOcclusionCullingSceneManager::getOption( const String & key, void *val )
|
---|
39 | {
|
---|
40 | return TerrainSceneManager::getOption( key, val );
|
---|
41 | }
|
---|
42 | //-----------------------------------------------------------------------
|
---|
43 | bool TerrainOcclusionCullingSceneManager::getOptionValues( const String & key, StringVector &refValueList )
|
---|
44 | {
|
---|
45 | return TerrainSceneManager::getOptionValues( key, refValueList );
|
---|
46 | }
|
---|
47 | //-----------------------------------------------------------------------
|
---|
48 | bool TerrainOcclusionCullingSceneManager::getOptionKeys( StringVector & refKeys )
|
---|
49 | {
|
---|
50 | return TerrainSceneManager::getOptionKeys( refKeys );
|
---|
51 | }*/
|
---|
52 | }
|
---|