Changeset 2348
- Timestamp:
- 05/03/07 20:31:25 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src
- Files:
-
- 11 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreBvHierarchy.cpp
r2280 r2348 882 882 unsigned long t1, t2, t3, t4; 883 883 884 mTreeStats.clear(); 884 mTreeStats.clear(); 885 885 886 886 // data we want to collect -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreVisibilitySceneManagerDll.cpp
r2280 r2348 27 27 #include "OgreKdTreeSceneManager.h" 28 28 #include "OgreKdTerrainSceneManager.h" 29 #include "OgreBiTerrainSceneManager.h" 29 30 #include <OgreRoot.h> 30 31 #include <OgreLogManager.h> … … 32 33 33 34 #include "OgreBvHierarchySceneManager.h" 35 #include "OgreBiHierarchySceneManager.h" 34 36 #include "VisibilityManager.h" 35 37 #include "VisibilityEnvironment.h" … … 46 48 KdTreeSceneManagerFactory *kdTreeFactory; 47 49 KdTerrainSceneManagerFactory *kdTerrainFactory; 50 BiTerrainSceneManagerFactory *biTerrainFactory; 48 51 BvHierarchySceneManagerFactory *bvHierarchyFactory; 52 BiHierarchySceneManagerFactory *biHierarchyFactory; 49 53 50 54 //----------------------------------------------------------------------- … … 59 63 kdTreeFactory = new KdTreeSceneManagerFactory(visManager); 60 64 kdTerrainFactory = new KdTerrainSceneManagerFactory(visManager); 65 biTerrainFactory = new BiTerrainSceneManagerFactory(visManager); 61 66 bvHierarchyFactory = new BvHierarchySceneManagerFactory(visManager); 67 biHierarchyFactory = new BiHierarchySceneManagerFactory(visManager); 68 62 69 63 70 // Construct listener manager singleton 64 71 new TerrainPageSourceListenerManager(); 65 72 new KdTerrainPageSourceListenerManager(); 73 new BiTerrainPageSourceListenerManager(); 66 74 67 75 // Register … … 69 77 Root::getSingleton().addSceneManagerFactory(kdTreeFactory); 70 78 Root::getSingleton().addSceneManagerFactory(kdTerrainFactory); 79 Root::getSingleton().addSceneManagerFactory(biTerrainFactory); 71 80 Root::getSingleton().addSceneManagerFactory(bvHierarchyFactory); 81 Root::getSingleton().addSceneManagerFactory(biHierarchyFactory); 72 82 } 73 83 //----------------------------------------------------------------------- … … 77 87 Root::getSingleton().removeSceneManagerFactory(kdTreeFactory); 78 88 Root::getSingleton().removeSceneManagerFactory(kdTerrainFactory); 89 Root::getSingleton().removeSceneManagerFactory(biTerrainFactory); 79 90 Root::getSingleton().removeSceneManagerFactory(bvHierarchyFactory); 91 Root::getSingleton().removeSceneManagerFactory(biHierarchyFactory); 80 92 81 93 // destroy listener manager 82 94 delete TerrainPageSourceListenerManager::getSingletonPtr(); 83 95 delete KdTerrainPageSourceListenerManager::getSingletonPtr(); 96 delete BiTerrainPageSourceListenerManager::getSingletonPtr(); 84 97 } 85 98 //----------------------------------------------------------------------- … … 91 104 delete kdTreeFactory; 92 105 delete kdTerrainFactory; 106 delete biTerrainFactory; 93 107 delete bvHierarchyFactory; 108 delete biHierarchyFactory; 94 109 95 110 delete visManager; -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/Plugin_VisibilitySceneManager.vcproj
r2332 r2348 53 53 Name="VCPostBuildEventTool" 54 54 CommandLine="copy $(OutDir)\$(TargetFileName) $(OGRE_PATH)\Samples\Common\bin\$(ConfigurationName) 55 copy $(OutDir)\$(TargetFileName) C:\private\Uni\GameTools\GTP\trunk\App\Demos\Vis\KdTreeDemo\OGRE\bin\$(ConfigurationName) 55 56 "/> 56 57 <Tool … … 124 125 Name="VCPostBuildEventTool" 125 126 CommandLine="copy $(OutDir)\$(TargetFileName) $(OGRE_PATH)\Samples\Common\bin\$(ConfigurationName) 127 rem copy $(OutDir)\$(TargetFileName) C:\private\Uni\GameTools\GTP\trunk\App\Demos\Vis\KdTreeDemo\OGRE\bin\$(ConfigurationName) 126 128 "/> 127 129 <Tool … … 679 681 </File> 680 682 </Filter> 683 <Filter 684 Name="BiHierarchySceneManager" 685 Filter=""> 686 <Filter 687 Name="Source Files" 688 Filter=""> 689 <File 690 RelativePath=".\OgreBiHierarchy.cpp"> 691 </File> 692 <File 693 RelativePath=".\OgreBiHierarchyCamera.cpp"> 694 </File> 695 <File 696 RelativePath=".\OgreBiHierarchyInterface.cpp"> 697 </File> 698 <File 699 RelativePath=".\OgreBiHierarchySceneManager.cpp"> 700 </File> 701 <File 702 RelativePath=".\OgreBiHierarchySceneNode.cpp"> 703 </File> 704 </Filter> 705 <Filter 706 Name="Header Files" 707 Filter=""> 708 <File 709 RelativePath="..\include\OgreBiHierarchy.h"> 710 </File> 711 <File 712 RelativePath="..\include\OgreBiHierarchyCamera.h"> 713 </File> 714 <File 715 RelativePath="..\include\OgreBiHierarchyInterface.h"> 716 </File> 717 <File 718 RelativePath="..\include\OgreBiHierarchySceneManager.h"> 719 </File> 720 <File 721 RelativePath="..\include\OgreBiHierarchySceneNode.h"> 722 </File> 723 <File 724 RelativePath="..\include\OgreBihRenderable.h"> 725 </File> 726 </Filter> 727 </Filter> 728 <Filter 729 Name="BiTerrainSceneManager" 730 Filter=""> 731 <Filter 732 Name="Source Files" 733 Filter=""> 734 <File 735 RelativePath=".\OgreBiHeightmapTerrainPageSource.cpp"> 736 </File> 737 <File 738 RelativePath=".\OgreBiTerrainPage.cpp"> 739 </File> 740 <File 741 RelativePath=".\OgreBiTerrainPageSource.cpp"> 742 </File> 743 <File 744 RelativePath=".\OgreBiTerrainRenderable.cpp"> 745 </File> 746 <File 747 RelativePath=".\OgreBiTerrainSceneManager.cpp"> 748 </File> 749 <File 750 RelativePath=".\OgreBiTerrainVertexProgram.cpp"> 751 </File> 752 </Filter> 753 <Filter 754 Name="Header Files" 755 Filter=""> 756 <File 757 RelativePath="..\include\OgreBiHeightmapTerrainPageSource.h"> 758 </File> 759 <File 760 RelativePath="..\include\OgreBiTerrainPage.h"> 761 </File> 762 <File 763 RelativePath="..\include\OgreBiTerrainPageSource.h"> 764 </File> 765 <File 766 RelativePath="..\include\OgreBiTerrainPrerequisites.h"> 767 </File> 768 <File 769 RelativePath="..\include\OgreBiTerrainRenderable.h"> 770 </File> 771 <File 772 RelativePath="..\include\OgreBiTerrainSceneManager.h"> 773 </File> 774 <File 775 RelativePath="..\include\OgreBiTerrainVertexProgram.h"> 776 </File> 777 </Filter> 778 </Filter> 681 779 <File 682 780 RelativePath=".\VTune\Plugin_VisibilitySceneManager.vpj">
Note: See TracChangeset
for help on using the changeset viewer.