by Mark Hood <invalid@[EMAIL PROTECTED]
>
Mar 10, 2008 at 06:40 PM
Weird... you replyed to a post from over a year ago.
Anyway, abandoning Java 3D is an option and makes sense over the long
term, but it might not be the best option short term if one has a lot
of code invested in it, especially when a fix for a specific problem
is available and well-known:
Java 3D has a 1-frame latency between the view parameters currently in
use by the renderer and the scene graph view platform position that
the application sets. So if you take the view parameters from
something like Canvas3D's ImagePlateToVworld and align some geometry
in the scene graph to it, it will end up being 1 frame behind the
actual view by the time the scene graph is actually updated by the
system.
The ViewInfo utility class (somewhere in com.sun.j3d.utils.universe)
will give you view info that is up-to-date with respect to the current
state of the scene graph.
-- Mark