Changeset 2121


Ignore:
Timestamp:
02/15/07 19:08:55 (17 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/App/Demos/Vis
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TerrainFrameListener.cpp

    r2108 r2121  
    13081308                 
    13091309                mSceneMgr->setOption("VisualizeCulledNodes", &mVisualizeCulledNodes); 
    1310                 //vizvp->setClearEveryFrame(false); 
    1311  
    1312                 // Create a skyplane (for visualization background) 
    1313                 /* 
    1314                 Plane plane; 
    1315                 plane.d = -1000; 
    1316                 plane.normal = Vector3::UNIT_Y; 
    1317                 mSceneMgr->setSkyPlane(true, plane, "Examples/TransparentTest", 4000, 75, false); 
    1318                 */ 
     1310         
    13191311        } 
    13201312        else 
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrain.vcproj

    r2118 r2121  
    8282                                OptimizeForWindowsApplication="TRUE" 
    8383                                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;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\IVReader\include" 
    84                                 PreprocessorDefinitions="_WINDOWS;_STLP_USE_DYNAMIC_LIB;OGRE_LIBRARY_IMPORTS;_RELEASE;WIN32;_STLP_RELEASE;GTP_VISIBILITY_MODIFIED_OGRE;GAMETOOLS_ILLUMINATION_MODULE1" 
     84                                PreprocessorDefinitions="_WINDOWS;_STLP_USE_DYNAMIC_LIB;OGRE_LIBRARY_IMPORTS;_RELEASE;WIN32;_STLP_RELEASE;GTP_VISIBILITY_MODIFIED_OGRE;GAMETOOLS_ILLUMINATION_MODULE1;USE_VERBOSE_PVS" 
    8585                                RuntimeLibrary="2" 
    8686                                RuntimeTypeInfo="TRUE" 
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp

    r2118 r2121  
    494494         
    495495        // Create a skybox 
    496         mSceneMgr->setSkyBox(true, "Examples/CloudyNoonSkyBox", 5000, true); 
     496        mSceneMgr->setSkyBox(true, "Examples/CloudyNoonSkyBox", 50000, true); 
    497497         
    498498        // terrain creation 
     
    508508        //-- CEGUI setup 
    509509        setupGui(); 
    510  
    511         // occluder plane to test visibility 
    512         if (0) 
    513         { 
    514                 Plane plane;  
    515                 plane.normal = Vector3::UNIT_Y;  
    516                 plane.d = -60; 
    517  
    518                 MeshManager::getSingleton().createPlane("Myplane", 
    519                         ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, plane, 
    520                         5000,5000,100,100,true,1,5,5,Vector3::UNIT_Z); 
    521  
    522                 Entity* pPlaneEnt = mSceneMgr->createEntity( "plane", "Myplane" ); 
    523                 pPlaneEnt->setMaterialName("Examples/Rockwall"); 
    524                 pPlaneEnt->setCastShadows(true); 
    525                 mSceneMgr->getRootSceneNode()->createChildSceneNode()->attachObject(pPlaneEnt); 
    526         } 
    527510 
    528511        // Warning: In GL since we can't go higher than the window res 
  • GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/scripts/TestKdTree.vcproj

    r2101 r2121  
    8585                                OptimizeForWindowsApplication="TRUE" 
    8686                                AdditionalIncludeDirectories="..\include;"$(OGRE_PATH)\Samples\Common\include";"$(OGRE_PATH)\OgreMain\include";..\..\..\..\..\..\Lib\Vis\OnlineCullingCHC\IVReader\include;..\..\..\..\..\..\Lib\Vis\OnlineCullingCHC\OGRE\include;..\..\..\..\..\..\Lib\Vis\OnlineCullingCHC\include" 
    87                                 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;GTP_VISIBILITY_MODIFIED_OGRE" 
     87                                PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;GTP_VISIBILITY_MODIFIED_OGRE;USE_VERBOSE_PVS" 
    8888                                StringPooling="TRUE" 
    8989                                MinimalRebuild="TRUE" 
Note: See TracChangeset for help on using the changeset viewer.