--- Irrlicht.old/COctTreeSceneNode.cpp 26 Sep 2004 13:43:56 -0000 1.1 +++ Irrlicht/COctTreeSceneNode.cpp 28 Jan 2005 16:17:59 -0000 1.6 @@ -27,7 +27,7 @@ setDebugName("COctTreeSceneNode"); #endif - AutomaticCullingEnabled = false; + AutomaticCullingEnabled = true; vertexType = (video::E_VERTEX_TYPE)-1; } @@ -150,6 +150,8 @@ StdOctTree->renderBoundingBoxes(box, boxes); for (u32 b=0; bdraw3DBox(boxes[b], video::SColor(0,255,255,255)); + + driver->draw3DBox(Box,video::SColor(0,255,0,0)); } break; @@ -187,6 +189,8 @@ LightMapOctTree->renderBoundingBoxes(box, boxes); for (u32 b=0; bdraw3DBox(boxes[b], video::SColor(0,255,255,255)); + + driver->draw3DBox(Box,video::SColor(0,255,0,0)); } } break;