Changeset 1221 for GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src
- Timestamp:
- 08/18/06 19:28:12 (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/OgreBoundingBoxConverter.cpp
r944 r1221 19 19 GtpVisibilityPreprocessor::IndexedBoundingBoxContainer:: 20 20 const_iterator iit, iit_end = iboxes.end(); 21 22 21 23 22 for (iit = iboxes.begin(); iit != iit_end; ++ iit) … … 25 24 const GtpVisibilityPreprocessor::AxisAlignedBox3 box = (*iit).second; 26 25 const AxisAlignedBox currentBox = OgreTypeConverter::ConvertToOgre(box); 27 28 26 29 27 Entity *ent = FindCorrespondingObject(currentBox); … … 42 40 const float eps = 1e-3f; 43 41 const Vector3 veps(eps, eps, eps); 42 44 43 Vector3 max = box.getMaximum(); 45 44 Vector3 min = box.getMinimum(); … … 54 53 //AxisAlignedBox dummy(Vector3(-50000, -50000, -50000), Vector3(50000, 50000, 50000)); 55 54 56 // --get intersecting scene nodes55 // get intersecting scene nodes 57 56 mSceneMgr->findNodesIn(mybox, sceneNodeList, NULL); 58 57 … … 99 98 bestFittingObj = static_cast<Entity *>(mo); 100 99 101 // perfect fit => object found, e raly exit100 // perfect fit => object found, early exit 102 101 if (overlap >= thresh) 103 102 return bestFittingObj; -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreKdTreeSceneManager.cpp
r1220 r1221 1109 1109 } 1110 1110 //----------------------------------------------------------------------- 1111 const Pass *KdTreeSceneManager::_setPass(Pass* pass )1111 const Pass *KdTreeSceneManager::_setPass(Pass* pass, bool evenIfSuppressed) 1112 1112 { 1113 1113 if (mRenderMethod == KdTree::KDRM_INTERNAL) -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreOcclusionCullingSceneManager.cpp
r1220 r1221 207 207 } 208 208 //----------------------------------------------------------------------- 209 const Pass *OcclusionCullingSceneManager::_setPass(Pass* pass )209 const Pass *OcclusionCullingSceneManager::_setPass(Pass* pass, bool evenIfSuppressed) 210 210 { 211 211 if (NORMAL_RENDER_HACK)
Note: See TracChangeset
for help on using the changeset viewer.