Hi Patrick,

On Sun, 2006-03-12 at 11:38 -0600, Patrick Hartling wrote:
> I recently updated to the latest CVS version of OpenSG, and my application
> stopped functioning correctly. As far as I can tell, the problem is caused
> by a change to OSG::Group made in the following commit (Revision 1.4 of
> OpenSG/Source/System/NodeCores/Group/Base/OSGGroup.cpp):
> 
>    http://sourceforge.net/mailarchive/message.php?msg_id=14799881
> 
> What I cannot figure out is if this change has exposed a bug in my
> application and if so, what that bug would be.
> 
> The behavior that I see is related to dynamic activating and deactivating of
> scene graph nodes. My application starts up with nodes being deactivated
> through calls to OSG::Node::setActive() made during a traversal before any
> frame is rendered. Later, I activate nodes selectively. If I use a build of
> OpenSG with the above change to OSG::Group, then only some of the nodes get
> rendered when all are active. I have verified that all the nodes are
> activated correctly, so I do not understand why they are not being rendered.
> The call to OSG::Node::setActive() occurs in a separate thread from the one
> doing the rendering, but I thought I had worked out all the kinks related to
> doing that.
> 
> The nodes that do not get rendered are always the same, but so far, I have
> not been able to identify any pattern as to why some nodes are rendered and
> others are not. Updating to Revision 1.5 of OSGGroup.cpp does change the
> behavior. Does anyone have any suggestions about what might be going wrong?

That sounds a little fishy. The change does not affect the active/mask
behavior as far as I can see. It does make view volume culling work on
leaf nodes, which didn't work before. Can you tuen on volume drawing to
make sure that your leaf bounding volumes are ok?

Yours

        Dirk




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to