Changeset 1304 for GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src
- Timestamp:
- 08/31/06 16:45:51 (18 years ago)
- 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 42 42 else 43 43 { 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);49 44 if (kdnode->getLeftChild()) 50 45 mDistanceQueue->push(kdnode->getLeftChild()); -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreKdTreeSceneManager.cpp
r1301 r1304 36 36 mShowAllBoxes(false), 37 37 mEnhancedVisiblity(true), 38 mBuildMethod(KdTree::KDBM_ PRIORITYQUEUE),38 mBuildMethod(KdTree::KDBM_RECURSIVE), 39 39 mRenderMethod(KdTree::KDRM_INTERNAL), 40 40 mShowVisualization(false), … … 846 846 setAmbientLight(savedAmbient); 847 847 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 ... 852 856 853 857 if (0) WriteLog(); // write out stats -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreOcclusionCullingSceneManager.cpp
r1296 r1304 450 450 setAmbientLight(savedAmbient); 451 451 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 ... 456 459 457 460 if (0) WriteLog(); // write out stats
Note: See TracChangeset
for help on using the changeset viewer.