Changeset 1190 for GTP/trunk/App/Demos


Ignore:
Timestamp:
08/09/06 13:41:12 (18 years ago)
Author:
szydlowski
Message:

refined visualization a little
discovered camera node SNAFU, hack to fix it, solution required

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/src/TestKdTree.cpp

    r1187 r1190  
    495495 
    496496        mSceneMgr->setOption("PrepareVisualization", &showViz); 
    497         mSceneMgr->setOption("SkyBoxEnabled", &nShowViz); 
    498         //mSceneMgr->setOption("SkyPlaneEnabled", &showViz); 
     497        SceneNode * skybox = mSceneMgr->getSkyBoxNode(); 
     498        if (skybox != 0) 
     499                mSceneMgr->setOption("SkyBoxEnabled", &nShowViz); 
     500        //if ((SceneNode * skyplane = mSceneMgr->getSkyPlaneNode()) != 0) 
     501        //      mSceneMgr->setOption("SkyPlaneEnabled", &showViz); 
    499502 
    500503        RenderTargetListener::preViewportUpdate(evt); 
Note: See TracChangeset for help on using the changeset viewer.