Hi Eric, On 6/21/06, Eric Sokolowsky <[EMAIL PROTECTED]> wrote:
Hmm. The problem was not the fact that realize() hadn't been called. The problem seems to lie in the thread that calls realize(). Previously I called realize() in the main thread (the one that actually creates the viewer) but that is now crashing when I moved to the CVS version of OGS .
Perhaps it could have just been done to fluke that it wasn't crashing before... sometimes threading issues can be hidden just be slight differences in timing.
I moved the realize() call into the thread that does the sync()/update()/frame() loop for the viewer and the crashing stopped. Anybody know why? Is this a gotcha that others should be warned about?
With sifting through you original code and what threads and doing what I would not like to guess at what was wrong. Doing the realize in the frame loop thread certainly make sense to me, its how all the examples do things. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
