> I'm sorry, I guess I should've been a little more clear. I've got an > example of how to make a flag wave in OpenGL. I'm trying to understand how > to create the same behavior in Java3D. All of the Java3D animation examples > deal with rotations and transforms. Without using Morph, I'm trying to > create an animation that manipulates the vertecies that make up my Shape3D.
It's pretty easy. I think it goes like this (several slightly different ways depending on way you store geometry): 1) Create your shape with the ALLOW_COORDS_WRITE capability 2) Add a behaviour to your scene. In that behaviour, set to happen every frame, you call into your own code that manipulates the geometry. 3) Then you write the geometry back to the shape. 4) Repeat ad infinitum. There's nothing that tricky with Java3D � although I don't know the OpenGL approach. Just start with a SimpleUniverse Java3d demo and add the steps above. Cheers ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ W<A> ~~~~~ (o) Wangjammer5 (Marc Palmer) ( ) Wangjammer7 www.wangjammers.org = Java Consultants (Web|Smartcards|Crypto) ==========================================================================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".
