Changeset 1151 for GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE
- Timestamp:
- 07/25/06 18:20:07 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreVisibilitySceneManagerDll.cpp
r971 r1151 25 25 26 26 //#include <OgreVisibilityTerrainSceneManager.h> 27 //#include <OgreVisibilityOctreeSceneManager.h>28 27 #include <OgreOcclusionCullingSceneManager.h> 29 28 … … 40 39 namespace Ogre { 41 40 42 //VisibilityOctreeSceneManagerFactory *visibilityOctreePlugin;43 41 //VisibilityTerrainSceneManagerFactory *visibilityTerrainPlugin; 44 42 OcclusionCullingSceneManagerFactory *occlusionCullingPlugin; … … 52 50 53 51 // Create new scene manager 54 //visibilityOctreePlugin = new VisibilityOctreeSceneManagerFactory(visManager);55 52 //visibilityTerrainPlugin = new VisibilityTerrainSceneManagerFactory(visManager); 56 53 occlusionCullingPlugin = new OcclusionCullingSceneManagerFactory(visManager); … … 59 56 60 57 // Register 61 //Root::getSingleton().addSceneManagerFactory(visibilityOctreePlugin);62 58 //Root::getSingleton().addSceneManagerFactory(visibilityTerrainPlugin); 63 59 Root::getSingleton().addSceneManagerFactory(occlusionCullingPlugin); … … 66 62 extern "C" void __declspec(dllexport) dllShutdownPlugin() 67 63 { 68 //Root::getSingleton().removeSceneManagerFactory(visibilityOctreePlugin);69 64 //Root::getSingleton().removeSceneManagerFactory(visibilityTerrainPlugin); 70 65 Root::getSingleton().removeSceneManagerFactory(occlusionCullingPlugin); … … 77 72 //delete heightmapTerrainPageSource; 78 73 79 // (HACK: crashes on delete!!!! FIX this80 //delete visibilityOctreePlugin; 81 74 // BUG: crashes on delete!!!! FIX this 75 76 //delete visibilityTerrainPlugin; 82 77 delete occlusionCullingPlugin; 83 78
Note: See TracChangeset
for help on using the changeset viewer.