Ignore:
Timestamp:
08/09/06 13:41:12 (18 years ago)
Author:
szydlowski
Message:

refined visualization a little
discovered camera node SNAFU, hack to fix it, solution required

File:
1 edited

Legend:

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

    r1187 r1190  
    3939        void KdTreeSceneNode::computeScene(PlaneEventList& events, AxisAlignedBox& aabb, int& nObjects, bool includeChildren) 
    4040        { 
     41                /**************************************************************************************/ 
     42                /* HACK: do not include camera node, FUCKS UP world AABB really BAD, dunno why        */ 
     43                /* TODO: find a generic solution where MOVABLE nodes are NOT INSERTED into the KDTREE */ 
     44                /**************************************************************************************/ 
     45                if (mName == "PlayerCamNode") 
     46                        return; 
     47 
    4148                // first compute nodes AABB 
    4249                mWorldAABB.setNull(); 
Note: See TracChangeset for help on using the changeset viewer.