[osg-users] PagedLOD traversal problem after switch to 2.6.1

2008-11-11 Thread Linus Hilding
We have a scene graph in which we want to make changes to every node's state 
set (switching textures). The scene graph consists of several nested PagedLOD 
objects(quad structure). After updating to OSG 2.6.1 from 2.2.0, not every LOD 
level gets visited by our NodeVisitor, when applied to the tree. Does anyone 
have any idea of what might be the problem?

Regards Ragnar and Linus
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] PagedLOD traversal problem after switch to 2.6.1

2008-11-11 Thread Linus Hilding
Sorry for the shorthanded info. Since we changed nothing other than osg 
version, we where curious to know if we made som known mistake. A switch back 
to version 2.2.0 will make it work again. When we draw the scene, the draw 
traversal has no trouble finding the different PagedLOD children, but prior to 
that a scene-traverse(visitor) on the root with a visitor derived from 
NodeVisitor with _TraversalMode set to osg::NodeVisitor::TRAVERSE_ALL_CHILDREN, 
and apply() functions that continue the traversal, will not reach all the 
children that keeps the different LOD levels. But we will continue debugging 
and get back if we have a more specific question of relevance.

Regards,
Linus and Ragnar
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] PagedLOD traversal problem after switch to 2.6.1

2008-11-11 Thread Robert Osfield
Hi Linus,

We have approximately 0 chance of guess what might be wrong. We
knowing absolutely nothing about your visitor, we know absolutely
knowing about when and where you call your visitor, we know
practically nothing about the scene graph.

Might I suggest you use a debugger to step through to see what is
happening in your application, with your code, with your data.

Robert.

On Tue, Nov 11, 2008 at 3:44 PM, Linus Hilding [EMAIL PROTECTED] wrote:
 We have a scene graph in which we want to make changes to every node's state 
 set (switching textures). The scene graph consists of several nested PagedLOD 
 objects(quad structure). After updating to OSG 2.6.1 from 2.2.0, not every 
 LOD level gets visited by our NodeVisitor, when applied to the tree. Does 
 anyone have any idea of what might be the problem?

 Regards Ragnar and Linus
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org