Changeset 2544 for GTP/trunk/App


Ignore:
Timestamp:
08/22/07 08:01:21 (17 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/App/Demos/Vis
Files:
3 edited

Legend:

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

    r2512 r2544  
    501501                // draw octree bounding boxes because 
    502502                // interesting for chc visualization 
    503                 if (mNodeVizMode != NODEVIZ_RENDER_PVS)  
     503                if (0 && mNodeVizMode != NODEVIZ_RENDER_PVS)  
    504504                { 
    505505                        mSceneMgr->setOption("ShowOctree", &mShowVisualization); 
     
    512512                mVizCamera->setOrientation(Quaternion::IDENTITY); 
    513513 
    514                 Vector3 camPos = mCamNode->getPosition(); 
     514                const Vector3 &camPos = mCamNode->getPosition(); 
    515515                mVizCamera->setPosition(camPos.x, mVizCameraHeight, camPos.z); 
    516516 
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp

    r2501 r2544  
    574574                                                                 mSunLight,  
    575575                                                                 this); 
    576  
     576#ifdef GAMETOOLS_ILLUMINATION_MODULE 
    577577        mTerrainFrameListener->setPriority(10); 
    578          
     578#endif 
    579579        mRoot->addFrameListener(mTerrainFrameListener);  
    580580} 
     
    736736bool TestCullingTerrainApplication::LoadViewCells(const String &filename) 
    737737{ 
    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 
    740739        return mSceneMgr->setOption("UseViewCells", filename.c_str()); 
    741740} 
     
    762761        mSavedAmbientLight = mSceneMgr->getAmbientLight(); 
    763762 
    764         // -- ambient light must be full for visualization, shadows disabled 
     763        //-- ambient light must be full for visualization, shadows disabled 
    765764    if (showViz) 
    766765        { 
  • GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/src/TestKdTree.cpp

    r2382 r2544  
    674674 
    675675    // 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 -Z 
    680     //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  
    688676        mTopCam = mSceneMgr->createCamera("TopCam"); 
    689677        mTopCam->setPosition(Vector3(0,mPlaneDim * 1.25,0)); 
Note: See TracChangeset for help on using the changeset viewer.