HI Stephen,

Modifying the scene graph between viewer.sync() and viewer.frame() is the appropriate thing to do.  As to what might be the cause of the problem I have can't say with so little to go on.

Robert.

On 10/5/06, Stephen Northcott <[EMAIL PROTECTED]> wrote:
Hi there..

I am running a piece of test code that has worked fine on my Mac
installation of OSG before..

However, on the PC it is giving spurious crashes. One's which I am
unable to pin a solution on, other than some kind of random
corruption of data, or conflict..

Basically I am modifying my currently viewing scene graph; adding
removing nodes etc. in the main viewer loop, just after viewer.update
() and before viewer.frame().

I also am changing the root pointer so that it switches to other node
structures in memory at times...

I have wondered for a while if this is a 'dirty' way of doing what I
want to do, and now with the unexplained crashes on the PC am
wondering if there is some conflict between OSG and my main loop... I
was under the impression that the location of my code in the main
loop was relatively safe..

Can someone shed any light on it for me.. Thanks.

Kind regards,
Stephen.


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to