[osg-users] Endless loop osg::ClipNode::computeBound

2009-10-07 Thread Daniel Trstenjak
Hi Robert, like the subject says, there's an endless loop in 'osg::ClipNode::computeBound'. Here is a part of the gdb backtrace. #23 0x2b85733d44fc in osg::ClipNode::computeBound (this=0x29679c0) at /soft/os/openscenegraph/sc.iViz-OSG/OpenSce

Re: [osg-users] Endless loop osg::ClipNode::computeBound

2009-10-07 Thread Daniel Trstenjak
Hi Robert, sorry, I haven't been aware, that it's not the same ClipNode object in the backtrace. I have a scenegraph with three ClipNodes. And two of these are calling computeBound on each other (). #185 0x2ad784e294fc in osg::ClipNode::computeBound (this=0x1fe4ac0) at

Re: [osg-users] Endless loop osg::ClipNode::computeBound

2009-10-07 Thread Robert Osfield
Hi Daniel, On Wed, Oct 7, 2009 at 1:40 PM, Daniel Trstenjak daniel.trsten...@science-computing.de wrote: sorry, I haven't been aware, that it's not the same ClipNode object in the backtrace. I have a scenegraph with three ClipNodes. And two of these are calling computeBound on each other ().

Re: [osg-users] Endless loop osg::ClipNode::computeBound

2009-10-07 Thread Daniel Trstenjak
Hi Robert, It really sounds like you've created a loop into scene graph where a node has a parent amongst it's children. Recursion is not supported in the OSG so you need to avoid this type of circular scene graph setup. Yeah. Currently I'm looking at our code which handles the