- Timestamp:
- 02/15/07 19:08:55 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.