Changeset 2121 for GTP/trunk/App/Demos/Vis/HillyTerrain
- Timestamp:
- 02/15/07 19:08:55 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TerrainFrameListener.cpp
r2108 r2121 1308 1308 1309 1309 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 1319 1311 } 1320 1312 else -
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrain.vcproj
r2118 r2121 82 82 OptimizeForWindowsApplication="TRUE" 83 83 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" 85 85 RuntimeLibrary="2" 86 86 RuntimeTypeInfo="TRUE" -
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp
r2118 r2121 494 494 495 495 // Create a skybox 496 mSceneMgr->setSkyBox(true, "Examples/CloudyNoonSkyBox", 5000 , true);496 mSceneMgr->setSkyBox(true, "Examples/CloudyNoonSkyBox", 50000, true); 497 497 498 498 // terrain creation … … 508 508 //-- CEGUI setup 509 509 setupGui(); 510 511 // occluder plane to test visibility512 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 }527 510 528 511 // Warning: In GL since we can't go higher than the window res
Note: See TracChangeset
for help on using the changeset viewer.