Ignore:
Timestamp:
08/31/06 16:45:51 (18 years ago)
Author:
szydlowski
Message:

final touches

Location:
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreKdTreeHierarchyInterface.cpp

    r1195 r1304  
    4242        else 
    4343        { 
    44                 //KdTree::Branch * kdbranch = KDBRANCHPTR_CAST(node); 
    45                 //if (kdbranch->mLeft) 
    46                 //      mDistanceQueue->push(kdbranch->mLeft); 
    47                 //if (kdbranch->mRight) 
    48                 //      mDistanceQueue->push(kdbranch->mRight); 
    4944                if (kdnode->getLeftChild()) 
    5045                        mDistanceQueue->push(kdnode->getLeftChild()); 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreKdTreeSceneManager.cpp

    r1301 r1304  
    3636mShowAllBoxes(false), 
    3737mEnhancedVisiblity(true), 
    38 mBuildMethod(KdTree::KDBM_PRIORITYQUEUE), 
     38mBuildMethod(KdTree::KDBM_RECURSIVE), 
    3939mRenderMethod(KdTree::KDRM_INTERNAL), 
    4040mShowVisualization(false), 
     
    846846                setAmbientLight(savedAmbient); 
    847847 
    848                 if (!mDeleteQueueAfterRendering) 
    849                         getRenderQueue()->clear(); // finally clear render queue 
    850                 else 
    851                         OGRE_DELETE(mRenderQueue); // HACK: should rather only be cleared ... 
     848 
     849                // almost same effect as below 
     850                getRenderQueue()->clear(mDeleteQueueAfterRendering); 
     851 
     852                //if (!mDeleteQueueAfterRendering) 
     853                //      getRenderQueue()->clear(true); // finally clear render queue 
     854                //else 
     855                //      OGRE_DELETE(mRenderQueue); // HACK: should rather only be cleared ... 
    852856 
    853857                if (0) WriteLog(); // write out stats 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreOcclusionCullingSceneManager.cpp

    r1296 r1304  
    450450        setAmbientLight(savedAmbient); 
    451451 
    452         if (!mDeleteQueueAfterRendering) 
    453                 getRenderQueue()->clear(); // finally clear render queue 
    454         else 
    455                 OGRE_DELETE(mRenderQueue); // HACK: should rather only be cleared ... 
     452        // almost same effect as below 
     453        getRenderQueue()->clear(mDeleteQueueAfterRendering); 
     454 
     455        //if (!mDeleteQueueAfterRendering) 
     456        //      getRenderQueue()->clear(true); // finally clear render queue 
     457        //else 
     458        //      OGRE_DELETE(mRenderQueue); // HACK: should rather only be cleared ... 
    456459 
    457460        if (0) WriteLog(); // write out stats 
Note: See TracChangeset for help on using the changeset viewer.