Changeset 2544 for GTP/trunk/App/Demos
- Timestamp:
- 08/22/07 08:01:21 (17 years ago)
- Location:
- GTP/trunk/App/Demos/Vis
- Files:
-
- 3 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 { -
GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/src/TestKdTree.cpp
r2382 r2544 674 674 675 675 // Position it at 500 in Z direction 676 //mCamera->setPosition(Vector3(0,50,500));677 //mCamera->setPosition(Vector3(500,256,666));678 //mCamera->setPosition(Vector3(1280,600,1666));679 // Look back along -Z680 //mCamera->lookAt(Vector3(0,50,-300));681 //mCamera->lookAt(Vector3(-20,30,10));682 683 //mFollowCam = mSceneMgr->createCamera("FollowCam");684 //mFollowCam->setPosition(Vector3(800,150,800));685 //mFollowCam->setNearClipDistance(5);686 //mFollowCam->setFOVy(Angle(15));687 688 676 mTopCam = mSceneMgr->createCamera("TopCam"); 689 677 mTopCam->setPosition(Vector3(0,mPlaneDim * 1.25,0));
Note: See TracChangeset
for help on using the changeset viewer.