Changeset 1676 for GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE
- Timestamp:
- 10/24/06 17:42:03 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreBoundingBoxConverter.h
r1623 r1676 135 135 continue; 136 136 } 137 mo->137 138 138 const AxisAlignedBox bbox = EnlargeBox(mo->getWorldBoundingBox()); 139 139 … … 225 225 226 226 // get intersecting scene nodes (= candidates) 227 AxisAlignedBox mybox = EnlargeBox(box);227 //AxisAlignedBox mybox = EnlargeBox(box); 228 228 //mSceneMgr->findNodesIn(mybox, sceneNodeList, NULL); 229 229 mSceneMgr->findNodesIn(box, sceneNodeList, NULL); … … 253 253 const AxisAlignedBox bbox = mo->getWorldBoundingBox(); 254 254 255 const bool overlaps = Overlap(nodeBox, 256 OgreTypeConverter::ConvertFromOgre(bbox) 257 ); 258 //,0.00001); 255 const bool overlaps = 256 Overlap(nodeBox, OgreTypeConverter::ConvertFromOgre(bbox)); 257 259 258 260 259 if (overlaps) -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreOcclusionCullingSceneManager.cpp
r1640 r1676 1201 1201 bool OcclusionCullingSceneManager::LoadViewCells(const String &filename) 1202 1202 { 1203 if (mViewCellsLoaded) return true; 1203 if (mViewCellsLoaded) 1204 return true; 1205 1204 1206 // converter between view cell ids and Ogre entites 1205 GtpVisibilityPreprocessor::IndexedBoundingBoxContainer iboxes;1206 1207 OctreeBoundingBoxConverter bconverter(this); 1207 1208 -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/Plugin_VisibilitySceneManager.vcproj
r1320 r1676 312 312 Name="VCLinkerTool" 313 313 IgnoreImportLibrary="TRUE" 314 AdditionalDependencies="OgreMain.lib CEGUIBase.lib OgreGUIRenderer.lib Plugin_OctreeSceneManager.lib GtpVisibility.lib zdll.lib zziplib.lib Preprocessor.lib xerces-c_2.lib devil.lib glut32.lib OpenGL32.Lib glu32.lib cg.lib cgGL.libglew32.lib glew32s.lib"314 AdditionalDependencies="OgreMain.lib CEGUIBase.lib OgreGUIRenderer.lib Plugin_OctreeSceneManager.lib GtpVisibility.lib zdll.lib zziplib.lib Preprocessor.lib xerces-c_2.lib devil.lib glut32.lib OpenGL32.Lib glu32.lib glew32.lib glew32s.lib" 315 315 OutputFile="$(OutDir)/Plugin_VisibilitySceneManager.dll" 316 316 Version="0.99"
Note: See TracChangeset
for help on using the changeset viewer.