Yanling Liu schrieb:
In my experience sceneView->setDefaults() is not intended to be called
multiple times. Even setSceneData() may have some problem. So I keep a
group node as scene root and call setSceneData() at the beginning. The
later changing/reloading will effect only children of the root node by
calling addChild and removeChildren. Also, after reloading I reset
view matrix by reset trackball. Seems there is nothing more left worth
to be reset.
Hi,
ok, I did now as you said, and it works fine!
Thanks,
Andreas
--
Andreas Goebel
Visit http://www.raumgeometrie.de to take a look at
Archimedes Geo3D, a program for dynamic geometry
in three dimensions!
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/