Ignore:
Timestamp:
08/18/06 19:28:12 (18 years ago)
Author:
mattausch
Message:

added intel ray tracing

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  
    1919        GtpVisibilityPreprocessor::IndexedBoundingBoxContainer:: 
    2020                const_iterator iit, iit_end = iboxes.end(); 
    21  
    2221   
    2322        for (iit = iboxes.begin(); iit != iit_end; ++ iit) 
     
    2524                const GtpVisibilityPreprocessor::AxisAlignedBox3 box = (*iit).second; 
    2625                const AxisAlignedBox currentBox = OgreTypeConverter::ConvertToOgre(box); 
    27  
    2826    
    2927                Entity *ent = FindCorrespondingObject(currentBox); 
     
    4240        const float eps = 1e-3f; 
    4341        const Vector3 veps(eps, eps, eps); 
     42 
    4443        Vector3 max = box.getMaximum(); 
    4544        Vector3 min = box.getMinimum(); 
     
    5453        //AxisAlignedBox dummy(Vector3(-50000, -50000, -50000), Vector3(50000, 50000, 50000)); 
    5554         
    56         //-- get intersecting scene nodes 
     55        // get intersecting scene nodes 
    5756        mSceneMgr->findNodesIn(mybox, sceneNodeList, NULL); 
    5857         
     
    9998                                 bestFittingObj = static_cast<Entity *>(mo); 
    10099 
    101                                  // perfect fit => object found, eraly exit 
     100                                 // perfect fit => object found, early exit 
    102101                                 if (overlap >= thresh) 
    103102                                         return bestFittingObj;                          
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreKdTreeSceneManager.cpp

    r1220 r1221  
    11091109} 
    11101110//----------------------------------------------------------------------- 
    1111 const Pass *KdTreeSceneManager::_setPass(Pass* pass) 
     1111const Pass *KdTreeSceneManager::_setPass(Pass* pass, bool evenIfSuppressed) 
    11121112{ 
    11131113        if (mRenderMethod == KdTree::KDRM_INTERNAL) 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreOcclusionCullingSceneManager.cpp

    r1220 r1221  
    207207} 
    208208//----------------------------------------------------------------------- 
    209 const Pass *OcclusionCullingSceneManager::_setPass(Pass* pass) 
     209const Pass *OcclusionCullingSceneManager::_setPass(Pass* pass, bool evenIfSuppressed) 
    210210{ 
    211211        if (NORMAL_RENDER_HACK) 
Note: See TracChangeset for help on using the changeset viewer.