Ignore:
Timestamp:
08/22/07 08:01:21 (17 years ago)
Author:
mattausch
Message:
 
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  
    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        { 
Note: See TracChangeset for help on using the changeset viewer.