I don't think javax.media.j3d.*  is available. But as with any java library
you can use a decompiler to obtain a source code for any java class. It
works fine unless the original code relies heavily on anonymous classes (
very rear case ). Several java decompilers are available on the net. It
worked for me. At least, I can follow j3d programming to the level of
calling native methods.

Regards

Boris

-----Original Message-----
From: Adam Treat [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 21, 2000 2:39 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] javax.media.j3d.*



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

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to