- Timestamp:
- 02/14/06 21:42:29 (19 years ago)
- Location:
- GTP/trunk
- Files:
-
- 7 edited
- 2 copied
- 22 moved
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrain.vcproj
r639 r643 73 73 <Tool 74 74 Name="VCCLCompilerTool" 75 AdditionalIncludeDirectories=""$(OGRE_PATH)\Dependencies\include";"$(OGRE_PATH)\OgreMain\include";"$(OGRE_PATH)\Samples\Common\include";"$(OGRE_PATH)\Dependencies\include\CEGUI";"$(OGRE_PATH)\PlugIns\OctreeSceneManager\include";"$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include";..\..\Ogre\include;..\..\ GtpVisibility\include;..\include"75 AdditionalIncludeDirectories=""$(OGRE_PATH)\Dependencies\include";"$(OGRE_PATH)\OgreMain\include";"$(OGRE_PATH)\Samples\Common\include";"$(OGRE_PATH)\Dependencies\include\CEGUI";"$(OGRE_PATH)\PlugIns\OctreeSceneManager\include";"$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include";..\..\Ogre\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\include;..\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\OGRE\include" 76 76 PreprocessorDefinitions="_WINDOWS;_STLP_USE_DYNAMIC_LIB;OGRE_LIBRARY_IMPORTS;_RELEASE;WIN32;_STLP_RELEASE;GTP_VISIBILITY_MODIFIED_OGRE" 77 77 RuntimeLibrary="2" … … 88 88 OutputFile="$(OGRE_PATH)/Samples/Common/bin/Release/TestCullingTerrain.exe" 89 89 LinkIncremental="1" 90 AdditionalLibraryDirectories=""$(OGRE_PATH)\Dependencies\Lib\$(ConfigurationName)";"$(OGRE_PATH)\OgreMain\Lib\$(ConfigurationName)";"$(OGRE_PATH)\PlugIns\OctreeSceneManager\bin\$(ConfigurationName)";"$(OGRE_PATH)\Samples\Common\CEGUIRenderer\lib";"..\..\Ogre\lib\$(ConfigurationName)" "90 AdditionalLibraryDirectories=""$(OGRE_PATH)\Dependencies\Lib\$(ConfigurationName)";"$(OGRE_PATH)\OgreMain\Lib\$(ConfigurationName)";"$(OGRE_PATH)\PlugIns\OctreeSceneManager\bin\$(ConfigurationName)";"$(OGRE_PATH)\Samples\Common\CEGUIRenderer\lib";"..\..\Ogre\lib\$(ConfigurationName)";..\..\..\..\..\Lib\Vis\OnlineCullingCHC\lib;"..\..\..\..\..\Lib\Vis\OnlineCullingCHC\OGRE\lib\$(ConfigurationName)"" 91 91 GenerateDebugInformation="TRUE" 92 92 SubSystem="2" -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/scripts/Plugin_VisibilitySceneManager.vcproj
r316 r643 88 88 EnableFiberSafeOptimizations="TRUE" 89 89 OptimizeForProcessor="2" 90 AdditionalIncludeDirectories=""$(OGRE_PATH)\PlugIns\OctreeSceneManager\include";"$(OGRE_ADDONS_PATH)\dotsceneoctree\PlugIns\DotSceneManager\include";"$(OGRE_PATH)\Samples\Common\include";"$(OGRE_PATH)\Dependencies\include\CEGUI";"$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include";"$(OGRE_PATH)\OgreMain\include";"$(OGRE_PATH)\Dependencies\include";..\include;..\..\ GtpVisibility\include"90 AdditionalIncludeDirectories=""$(OGRE_PATH)\PlugIns\OctreeSceneManager\include";"$(OGRE_ADDONS_PATH)\dotsceneoctree\PlugIns\DotSceneManager\include";"$(OGRE_PATH)\Samples\Common\include";"$(OGRE_PATH)\Dependencies\include\CEGUI";"$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include";"$(OGRE_PATH)\OgreMain\include";"$(OGRE_PATH)\Dependencies\include";..\include;..\..\..\OnlineCullingCHC\include" 91 91 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;GTP_VISIBILITY_MODIFIED_OGRE" 92 92 StringPooling="TRUE" -
GTP/trunk/Lib/Vis/Preprocessing/scripts/default.env
r639 r643 331 331 missTolerance 6 332 332 333 maxViewCells 2 56333 maxViewCells 2048 334 334 335 335 # used for pvs criterium -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r639 r643 16 16 #include "RssPreprocessor.h" 17 17 18 #define SAMPLE_AFTER_SUBDIVISION 118 #define SAMPLE_AFTER_SUBDIVISION 0 19 19 20 20 … … 3101 3101 if (1 || mExportRays) 3102 3102 { 3103 if ( 1)3103 if (0) 3104 3104 { 3105 3105 VssRayContainer vcRays; … … 3141 3141 3142 3142 3143 if ( 0)3143 if (1) 3144 3144 { 3145 3145 VssRayContainer vcRays; … … 3175 3175 ExportViewCellGeometry(exporter, vc); 3176 3176 3177 3178 m.mDiffuseColor = RgbColor(1, 0, 0);3179 exporter->SetForcedMaterial(m);3180 3181 3177 exporter->SetFilled(); 3182 3178 … … 3199 3195 if (!intersect->Mailed()) 3200 3196 { 3201 //m = RandomMaterial();3202 //exporter->SetForcedMaterial(m);3197 m = RandomMaterial(); 3198 exporter->SetForcedMaterial(m); 3203 3199 3204 3200 exporter->ExportIntersectable(intersect); … … 3209 3205 else 3210 3206 { 3207 m.mDiffuseColor = RgbColor(1, 0, 0); 3208 exporter->SetForcedMaterial(m); 3209 3211 3210 exporter->ExportGeometry(objects); 3212 3211 } -
GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
r639 r643 68 68 mViewCellsManager(NULL), 69 69 mOutOfBoundsCell(NULL), 70 mStoreRays( true),70 mStoreRays(false), 71 71 mRenderCostWeight(0.5), 72 72 mUseRandomAxis(false), -
GTP/trunk/Lib/Vis/README_ONLINE.txt
r316 r643 9 9 10 10 2) check out gametools repository 11 in the following it is assumed that your repository is located in D:\gametools (not required, just replace your path)11 in the following it is assumed that your repository is located in e:\svn\gametools (not required, just replace your path) 12 12 13 the current stable version is located in D:\gametools\branches\0.313 deprecated: the current stable version is located in D:\gametools\branches\0.3 14 14 15 15 2) add following environment variables: 16 16 OGRE_PATH: directory where ogre.sln is located 17 17 18 3) copy VUT\work\ogre_changes into OGRE_PATH directory (only applies to version 1.03!!!!)18 3) copy e:\svn\gametools\OGRE\trunk\ogre_changes into OGRE_PATH directory (only applies to version 1.03!!!!) 19 19 20 20 4) Set configuration of Ogre soluation to release. add preprocessor flag GTP_VISIBILITY_MODIFIED_OGRE to following projects: … … 30 30 5) Add following resources to OGRE_PATH\Samples\Common\bin\Release\resource.cfg: 31 31 32 FileSystem= D:\gametools\trunk\VUT\Ogre\resources\materials\scripts33 FileSystem= D:\gametools\trunk\VUT\Ogre\resources\materials\textures34 FileSystem= D:\gametools\trunk\VUT\Ogre\resources\models35 FileSystem= D:\gametools\trunk\VUT\Ogre\resources\models\trees36 FileSystem= D:\gametools\trunk\VUT\Ogre\resources\overlays37 FileSystem= D:\gametools\trunk\VUT\Ogre\resources\media32 FileSystem=e:\svn\gametools\OGRE\trunk\resources\materials\scripts 33 FileSystem=e:\svn\gametools\OGRE\trunk\resources\materials\textures 34 FileSystem=e:\svn\gametools\OGRE\trunk\resources\models 35 FileSystem=e:\svn\gametools\OGRE\trunk\resources\models\trees 36 FileSystem=e:\svn\gametools\OGRE\trunk\resources\overlays 37 FileSystem=e:\svn\gametools\OGRE\trunk\resources\media 38 38 39 39 6) Add Plugin_VisibilitySceneManager to OGRE_PATH\Samples\Common\bin\Release\Plugins.cfg -
GTP/trunk/Lib/Vis/shared/scripts/GtpVisibility.sln
r634 r643 6 6 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GtpVisibility", "..\..\OnlineCullingCHC\scripts\GtpVisibility.vcproj", "{101A7691-74F3-48B4-96A3-CF35578F5900}" 7 7 ProjectSection(ProjectDependencies) = postProject 8 EndProjectSection 9 EndProject 10 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestCullingTerrain", "..\..\..\..\App\Demos\Vis\HillyTerrain\OGRE\TestCullingTerrain.vcproj", "{248F19A6-2FE0-4F5D-8928-E0EA10609887}" 11 ProjectSection(ProjectDependencies) = postProject 12 {80DECC17-BDDD-4412-8CF8-F7C1C17A7436} = {80DECC17-BDDD-4412-8CF8-F7C1C17A7436} 13 {101A7691-74F3-48B4-96A3-CF35578F5900} = {101A7691-74F3-48B4-96A3-CF35578F5900} 14 EndProjectSection 15 EndProject 16 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Plugin_VisibilitySceneManager", "..\..\OnlineCullingCHC\OGRE\scripts\Plugin_VisibilitySceneManager.vcproj", "{80DECC17-BDDD-4412-8CF8-F7C1C17A7436}" 17 ProjectSection(ProjectDependencies) = postProject 18 {101A7691-74F3-48B4-96A3-CF35578F5900} = {101A7691-74F3-48B4-96A3-CF35578F5900} 8 19 EndProjectSection 9 20 EndProject … … 22 33 {101A7691-74F3-48B4-96A3-CF35578F5900}.Release.ActiveCfg = Release|Win32 23 34 {101A7691-74F3-48B4-96A3-CF35578F5900}.Release.Build.0 = Release|Win32 35 {248F19A6-2FE0-4F5D-8928-E0EA10609887}.Debug.ActiveCfg = Debug|Win32 36 {248F19A6-2FE0-4F5D-8928-E0EA10609887}.Debug.Build.0 = Debug|Win32 37 {248F19A6-2FE0-4F5D-8928-E0EA10609887}.Release.ActiveCfg = Release|Win32 38 {248F19A6-2FE0-4F5D-8928-E0EA10609887}.Release.Build.0 = Release|Win32 39 {80DECC17-BDDD-4412-8CF8-F7C1C17A7436}.Debug.ActiveCfg = Debug|Win32 40 {80DECC17-BDDD-4412-8CF8-F7C1C17A7436}.Debug.Build.0 = Debug|Win32 41 {80DECC17-BDDD-4412-8CF8-F7C1C17A7436}.Release.ActiveCfg = Release|Win32 42 {80DECC17-BDDD-4412-8CF8-F7C1C17A7436}.Release.Build.0 = Release|Win32 24 43 EndGlobalSection 25 44 GlobalSection(ExtensibilityGlobals) = postSolution
Note: See TracChangeset
for help on using the changeset viewer.