javax.media.j3d.* !!!!!!!!!!
Does anyone know where to find the source code for
this package or is Sun not releasing it? I need to look at the Alpha class
and the RotationInterpolator class.
Is it possible to change the
AlphaIncreasingDuration and other paramaters of the Alpha object on the
fly? I need to simulate angular acceleration and it occured to me that
extending the RotationInterpolator and/or it's Alpha object would be the easiest
way.
Right now I have a thread with a while loop that
rotates the object a small angle every iteration. I seem to
be looping at the rate of every millisecond, but i don't see all of the
frames, it's hurky jerky. However, if i System.out.println a statement for
every iteration then i am able to see more frames... I think this must
have something to do with the doublebuffering and the graphics not being flushed
on every iteration. i've tried using the GraphicsContext flush method but
this is less than effective. Could it be the garbage collector? Does
anyone know what's going on with this?
thanks,
adam
|
- Re: [JAVA3D] javax.media.j3d.* Adam Treat
- Re: [JAVA3D] javax.media.j3d.* Zeldin, Boris