Changeset 2544 for GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE
- Timestamp:
- 08/22/07 08:01:21 (17 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TerrainFrameListener.cpp
r2512 r2544 501 501 // draw octree bounding boxes because 502 502 // interesting for chc visualization 503 if ( mNodeVizMode != NODEVIZ_RENDER_PVS)503 if (0 && mNodeVizMode != NODEVIZ_RENDER_PVS) 504 504 { 505 505 mSceneMgr->setOption("ShowOctree", &mShowVisualization); … … 512 512 mVizCamera->setOrientation(Quaternion::IDENTITY); 513 513 514 Vector3camPos = mCamNode->getPosition();514 const Vector3 &camPos = mCamNode->getPosition(); 515 515 mVizCamera->setPosition(camPos.x, mVizCameraHeight, camPos.z); 516 516 -
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp
r2501 r2544 574 574 mSunLight, 575 575 this); 576 576 #ifdef GAMETOOLS_ILLUMINATION_MODULE 577 577 mTerrainFrameListener->setPriority(10); 578 578 #endif 579 579 mRoot->addFrameListener(mTerrainFrameListener); 580 580 } … … 736 736 bool TestCullingTerrainApplication::LoadViewCells(const String &filename) 737 737 { 738 // if not already loaded, 739 // the scene manager will load the view cells 738 // if not already loaded, the scene manager will load the view cells 740 739 return mSceneMgr->setOption("UseViewCells", filename.c_str()); 741 740 } … … 762 761 mSavedAmbientLight = mSceneMgr->getAmbientLight(); 763 762 764 // 763 //-- ambient light must be full for visualization, shadows disabled 765 764 if (showViz) 766 765 {
Note: See TracChangeset
for help on using the changeset viewer.