> > I've some shapes, structured in branchgroups. I will have the
> > possibility for adding shapes at runtime. After adding a shape the view
> > should resituated, for that I'm using the setViewPoint() method from the
> > VRML97Loader. But the newly calculated view will appear just after a few
> > seconds (I've tested it with a empty loop). How can I synchronize the
> > childApp() method?
>
> So the problem is that you add a new shape to the scene and then use
> setViewPoint to set the new viewpoint, but the scene is not rendered with the
> new viewpoint for a few seconds. Is this correct?
Yes.
> How long does it take for a single frame to be rendered? Is the delay in seeing
> the new viewpoint one or two frames, or is it longer?
I don't know how to messure the time in frames. But on a PII-400 it
takes two seconds to update the scenegraph. I've to anotate that the
shape is displayed just after adding, but in the setViewPoint() method
the update follows two seconds later.
Christoph
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/