Ignore:
Timestamp:
11/28/06 12:50:34 (18 years ago)
Author:
mattausch
Message:

changed scenemanager: options are directly given to it

File:
1 edited

Legend:

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

    r1609 r1816  
    192192        } 
    193193 
    194          
    195194        val = config.getSetting("ViewCells"); 
    196195 
     
    246245        } 
    247246 
    248         ///////////////////////// 
     247        ///////////// 
    249248        // setup scene 
    250249 
    251         //-- load the scene from specified file 
    252250        if (!LoadScene(mFilename)) 
    253251        { 
     
    380378                                                                                                const int index) 
    381379{ 
    382  
    383  
    384  
    385380        mIVReader = new IVReader(); 
    386381 
    387382        Timer *timer = PlatformManager::getSingleton().createTimer(); 
    388383        timer->reset(); 
     384 
    389385        if (1) 
    390386        { 
     
    405401                mIVReader->collapse(); 
    406402                OGRE_DELETE(mIVReader); 
    407  
    408403 
    409404                std::stringstream d;  
     
    458453void TestCullingTerrainApplication::createScene() 
    459454{ 
     455        ///////// 
    460456        //-- load scene 
    461457        loadConfig("terrainCulling.cfg"); 
     
    505501        } 
    506502         
    507  
    508         setupGui(); //-- CEGUI setup 
     503        //////  
     504        //-- CEGUI setup 
     505        setupGui(); 
    509506 
    510507        // occluder plane to test visibility 
     
    529526        mSceneMgr->setShadowColour(ColourValue(0.5, 0.5, 0.5)); 
    530527 
    531         //////////////77 
     528        ////////////// 
    532529        //-- terrain content setup 
    533530 
     
    786783                { 
    787784                        // load collada files 
    788                         // load iv files 
    789785                        LoadSceneCollada(fn, mSceneMgr->getRootSceneNode(), i);          
    790786                } 
Note: See TracChangeset for help on using the changeset viewer.