Hi,
 
There were many many question about loading animation data from vrml file. i want to load simple motion data( position and rotation key data) by using Xj3d loader. so, i've searched the info in Java3D e-mail archive for a day, but i coudn't get the concrete solution. I just know the fact that the solution is, as shown in following. how can i get the sample code. ( there are no sample code or animation loading info In Xj3d's homepate)
 
I can get behavior node by using Scene.getBehaviorNodes(), however, I can't know how to get the keyframe data.
 
Please let me kow how to do it.
 
////////////////////////////////////////////////////
 
Date:         Thu, 13 Dec 2001 15:16:41 +0800
Reply-To:
     Discussion list for Java 3D API <[EMAIL PROTECTED]>
Sender:
       Discussion list for Java 3D API <[EMAIL PROTECTED]>
From:
         Justin Couch <[EMAIL PROTECTED]>
Subject:
      Re: VRML and animation
Comments:
To: Andreas Bauer <[EMAIL PROTECTED]>
In-Reply-To:
  <[EMAIL PROTECTED]>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 12 Dec 2001, Andreas Bauer wrote:
> I want to play VRML97 animations in java 3D. Should I use the old VRML97
> loader from sun or Xj3D ?
Depends on what you want to do. If is simple rotate and translate animations,
eitehr will do. if you want more complex animations such as morphing, only
Xj3D will do that. Add in scripting support requirements and you definitely
want to head to Xj3D. However, if you wan to use Sun's serialisation code
to save the scene graph to .j3d files, you';ll needs the older code as
Xj3D does not, and never will support that.
--
Justin Couch                        
http://www.vlc.com.au/~justin/
Freelance Java Consultant                  http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
////////////////////////////////////////////////////////////

 
Thanks.
 
 

Reply via email to