Changeset 1163 for GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src
- Timestamp:
- 07/27/06 13:00:41 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src
- Files:
-
- 3 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreVisibilitySceneManagerDll.cpp
r1153 r1163 26 26 //#include <OgreVisibilityTerrainSceneManager.h> 27 27 #include <OgreOcclusionCullingSceneManager.h> 28 #include <OgreKdTreeSceneManager.h> 28 29 29 30 //#include <OgreHeightmapTerrainPageSource.h> … … 41 42 //VisibilityTerrainSceneManagerFactory *visibilityTerrainPlugin; 42 43 OcclusionCullingSceneManagerFactory *occlusionCullingPlugin; 44 KdTreeSceneManagerFactory *kdTreeFactory; 43 45 44 46 //----------------------------------------------------------------------- … … 52 54 //visibilityTerrainPlugin = new VisibilityTerrainSceneManagerFactory(visManager); 53 55 occlusionCullingPlugin = new OcclusionCullingSceneManagerFactory(visManager); 56 kdTreeFactory = new KdTreeSceneManagerFactory(); 54 57 // Construct listener manager singleton 55 58 new TerrainPageSourceListenerManager(); … … 58 61 //Root::getSingleton().addSceneManagerFactory(visibilityTerrainPlugin); 59 62 Root::getSingleton().addSceneManagerFactory(occlusionCullingPlugin); 63 Root::getSingleton().addSceneManagerFactory(kdTreeFactory); 60 64 } 61 65 //----------------------------------------------------------------------- … … 64 68 //Root::getSingleton().removeSceneManagerFactory(visibilityTerrainPlugin); 65 69 Root::getSingleton().removeSceneManagerFactory(occlusionCullingPlugin); 70 Root::getSingleton().removeSceneManagerFactory(kdTreeFactory); 66 71 // destroy listener manager 67 72 delete TerrainPageSourceListenerManager::getSingletonPtr(); … … 75 80 //delete visibilityTerrainPlugin; 76 81 delete occlusionCullingPlugin; 82 delete kdTreeFactory; 77 83 78 84 delete visManager;
Note: See TracChangeset
for help on using the changeset viewer.