Changeset 643


Ignore:
Timestamp:
02/14/06 21:42:29 (18 years ago)
Author:
mattausch
Message:

made demo running

Files:
8 edited
3 copied
23 moved

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrain.vcproj

    r639 r643  
    7373                        <Tool 
    7474                                Name="VCCLCompilerTool" 
    75                                 AdditionalIncludeDirectories="&quot;$(OGRE_PATH)\Dependencies\include&quot;;&quot;$(OGRE_PATH)\OgreMain\include&quot;;&quot;$(OGRE_PATH)\Samples\Common\include&quot;;&quot;$(OGRE_PATH)\Dependencies\include\CEGUI&quot;;&quot;$(OGRE_PATH)\PlugIns\OctreeSceneManager\include&quot;;&quot;$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include&quot;;..\..\Ogre\include;..\..\GtpVisibility\include;..\include" 
     75                                AdditionalIncludeDirectories="&quot;$(OGRE_PATH)\Dependencies\include&quot;;&quot;$(OGRE_PATH)\OgreMain\include&quot;;&quot;$(OGRE_PATH)\Samples\Common\include&quot;;&quot;$(OGRE_PATH)\Dependencies\include\CEGUI&quot;;&quot;$(OGRE_PATH)\PlugIns\OctreeSceneManager\include&quot;;&quot;$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include&quot;;..\..\Ogre\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\include;..\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\OGRE\include" 
    7676                                PreprocessorDefinitions="_WINDOWS;_STLP_USE_DYNAMIC_LIB;OGRE_LIBRARY_IMPORTS;_RELEASE;WIN32;_STLP_RELEASE;GTP_VISIBILITY_MODIFIED_OGRE" 
    7777                                RuntimeLibrary="2" 
     
    8888                                OutputFile="$(OGRE_PATH)/Samples/Common/bin/Release/TestCullingTerrain.exe" 
    8989                                LinkIncremental="1" 
    90                                 AdditionalLibraryDirectories="&quot;$(OGRE_PATH)\Dependencies\Lib\$(ConfigurationName)&quot;;&quot;$(OGRE_PATH)\OgreMain\Lib\$(ConfigurationName)&quot;;&quot;$(OGRE_PATH)\PlugIns\OctreeSceneManager\bin\$(ConfigurationName)&quot;;&quot;$(OGRE_PATH)\Samples\Common\CEGUIRenderer\lib&quot;;&quot;..\..\Ogre\lib\$(ConfigurationName)&quot;" 
     90                                AdditionalLibraryDirectories="&quot;$(OGRE_PATH)\Dependencies\Lib\$(ConfigurationName)&quot;;&quot;$(OGRE_PATH)\OgreMain\Lib\$(ConfigurationName)&quot;;&quot;$(OGRE_PATH)\PlugIns\OctreeSceneManager\bin\$(ConfigurationName)&quot;;&quot;$(OGRE_PATH)\Samples\Common\CEGUIRenderer\lib&quot;;&quot;..\..\Ogre\lib\$(ConfigurationName)&quot;;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\lib;&quot;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\OGRE\lib\$(ConfigurationName)&quot;" 
    9191                                GenerateDebugInformation="TRUE" 
    9292                                SubSystem="2" 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/scripts/Plugin_VisibilitySceneManager.vcproj

    r316 r643  
    8888                                EnableFiberSafeOptimizations="TRUE" 
    8989                                OptimizeForProcessor="2" 
    90                                 AdditionalIncludeDirectories="&quot;$(OGRE_PATH)\PlugIns\OctreeSceneManager\include&quot;;&quot;$(OGRE_ADDONS_PATH)\dotsceneoctree\PlugIns\DotSceneManager\include&quot;;&quot;$(OGRE_PATH)\Samples\Common\include&quot;;&quot;$(OGRE_PATH)\Dependencies\include\CEGUI&quot;;&quot;$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include&quot;;&quot;$(OGRE_PATH)\OgreMain\include&quot;;&quot;$(OGRE_PATH)\Dependencies\include&quot;;..\include;..\..\GtpVisibility\include" 
     90                                AdditionalIncludeDirectories="&quot;$(OGRE_PATH)\PlugIns\OctreeSceneManager\include&quot;;&quot;$(OGRE_ADDONS_PATH)\dotsceneoctree\PlugIns\DotSceneManager\include&quot;;&quot;$(OGRE_PATH)\Samples\Common\include&quot;;&quot;$(OGRE_PATH)\Dependencies\include\CEGUI&quot;;&quot;$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include&quot;;&quot;$(OGRE_PATH)\OgreMain\include&quot;;&quot;$(OGRE_PATH)\Dependencies\include&quot;;..\include;..\..\..\OnlineCullingCHC\include" 
    9191                                PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;GTP_VISIBILITY_MODIFIED_OGRE" 
    9292                                StringPooling="TRUE" 
  • GTP/trunk/Lib/Vis/Preprocessing/scripts/default.env

    r639 r643  
    331331                missTolerance           6 
    332332                 
    333                 maxViewCells            256 
     333                maxViewCells            2048 
    334334                 
    335335                # used for pvs criterium 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp

    r639 r643  
    1616#include "RssPreprocessor.h" 
    1717 
    18 #define SAMPLE_AFTER_SUBDIVISION 1 
     18#define SAMPLE_AFTER_SUBDIVISION 0 
    1919 
    2020 
     
    31013101                if (1 || mExportRays) 
    31023102                { 
    3103                         if (1) 
     3103                        if (0) 
    31043104                        { 
    31053105                                VssRayContainer vcRays; 
     
    31413141                         
    31423142 
    3143                         if (0) 
     3143                        if (1) 
    31443144                        { 
    31453145                                VssRayContainer vcRays; 
     
    31753175                ExportViewCellGeometry(exporter, vc); 
    31763176         
    3177  
    3178                 m.mDiffuseColor = RgbColor(1, 0, 0); 
    3179             exporter->SetForcedMaterial(m); 
    3180  
    31813177                exporter->SetFilled(); 
    31823178 
     
    31993195                                if (!intersect->Mailed()) 
    32003196                                { 
    3201                                         //m = RandomMaterial(); 
    3202                                         //exporter->SetForcedMaterial(m); 
     3197                                        m = RandomMaterial(); 
     3198                                        exporter->SetForcedMaterial(m); 
    32033199 
    32043200                                        exporter->ExportIntersectable(intersect); 
     
    32093205                else 
    32103206                { 
     3207                        m.mDiffuseColor = RgbColor(1, 0, 0); 
     3208                        exporter->SetForcedMaterial(m); 
     3209 
    32113210                        exporter->ExportGeometry(objects); 
    32123211                } 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp

    r639 r643  
    6868mViewCellsManager(NULL), 
    6969mOutOfBoundsCell(NULL), 
    70 mStoreRays(true), 
     70mStoreRays(false), 
    7171mRenderCostWeight(0.5), 
    7272mUseRandomAxis(false), 
  • GTP/trunk/Lib/Vis/README_ONLINE.txt

    r316 r643  
    99 
    10102) 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) 
    1212 
    13    the current stable version is located in D:\gametools\branches\0.3 
     13   deprecated: the current stable version is located in D:\gametools\branches\0.3 
    1414 
    15152) add following environment variables: 
    1616   OGRE_PATH: directory where ogre.sln is located 
    1717 
    18 3) copy VUT\work\ogre_changes into OGRE_PATH directory (only applies to version 1.03!!!!) 
     183) copy e:\svn\gametools\OGRE\trunk\ogre_changes into OGRE_PATH directory (only applies to version 1.03!!!!) 
    1919 
    20204) Set configuration of Ogre soluation to release. add preprocessor flag GTP_VISIBILITY_MODIFIED_OGRE to following projects: 
     
    30305) Add following resources to OGRE_PATH\Samples\Common\bin\Release\resource.cfg: 
    3131 
    32    FileSystem=D:\gametools\trunk\VUT\Ogre\resources\materials\scripts 
    33    FileSystem=D:\gametools\trunk\VUT\Ogre\resources\materials\textures 
    34    FileSystem=D:\gametools\trunk\VUT\Ogre\resources\models 
    35    FileSystem=D:\gametools\trunk\VUT\Ogre\resources\models\trees 
    36    FileSystem=D:\gametools\trunk\VUT\Ogre\resources\overlays 
    37    FileSystem=D:\gametools\trunk\VUT\Ogre\resources\media 
     32   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 
    3838 
    39396) Add Plugin_VisibilitySceneManager to OGRE_PATH\Samples\Common\bin\Release\Plugins.cfg 
  • GTP/trunk/Lib/Vis/shared/scripts/GtpVisibility.sln

    r634 r643  
    66Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GtpVisibility", "..\..\OnlineCullingCHC\scripts\GtpVisibility.vcproj", "{101A7691-74F3-48B4-96A3-CF35578F5900}" 
    77        ProjectSection(ProjectDependencies) = postProject 
     8        EndProjectSection 
     9EndProject 
     10Project("{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 
     15EndProject 
     16Project("{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} 
    819        EndProjectSection 
    920EndProject 
     
    2233                {101A7691-74F3-48B4-96A3-CF35578F5900}.Release.ActiveCfg = Release|Win32 
    2334                {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 
    2443        EndGlobalSection 
    2544        GlobalSection(ExtensibilityGlobals) = postSolution 
  • obsolete/tags/VUT/0.4/work/README_ONLINE.txt

    r316 r643  
    99 
    10102) 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) 
    1212 
    13    the current stable version is located in D:\gametools\branches\0.3 
     13   deprecated: the current stable version is located in D:\gametools\branches\0.3 
    1414 
    15152) add following environment variables: 
    1616   OGRE_PATH: directory where ogre.sln is located 
    1717 
    18 3) copy VUT\work\ogre_changes into OGRE_PATH directory (only applies to version 1.03!!!!) 
     183) copy e:\svn\gametools\OGRE\trunk\ogre_changes into OGRE_PATH directory (only applies to version 1.03!!!!) 
    1919 
    20204) Set configuration of Ogre soluation to release. add preprocessor flag GTP_VISIBILITY_MODIFIED_OGRE to following projects: 
     
    30305) Add following resources to OGRE_PATH\Samples\Common\bin\Release\resource.cfg: 
    3131 
    32    FileSystem=D:\gametools\trunk\VUT\Ogre\resources\materials\scripts 
    33    FileSystem=D:\gametools\trunk\VUT\Ogre\resources\materials\textures 
    34    FileSystem=D:\gametools\trunk\VUT\Ogre\resources\models 
    35    FileSystem=D:\gametools\trunk\VUT\Ogre\resources\models\trees 
    36    FileSystem=D:\gametools\trunk\VUT\Ogre\resources\overlays 
    37    FileSystem=D:\gametools\trunk\VUT\Ogre\resources\media 
     32   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 
    3838 
    39396) Add Plugin_VisibilitySceneManager to OGRE_PATH\Samples\Common\bin\Release\Plugins.cfg 
Note: See TracChangeset for help on using the changeset viewer.