Here is an example: http://icmit.mit.edu/robot/simulation.html
He does not load a VRML into this robot simulation but you can easily add that ability yourself. This code basically gives you template that you can use. This link is the actual source code in .jar format (you can extract it using WinZip) http://icmit.mit.edu/robot/Robot.jar But Serge is correct...best way to do the animation of individual pieces is to put each one in it's own TranformGroup with it's own Transform3D. Mario Mariusz Zaczek NASA - Johnson Space Center Automated Vehicles and Orbit Analysis / DM35 Flight Design and Dynamics Division Mission Operations Directorate Bldg: 30A Room: 3040A Disclaimer: "The opinions, observations and comments expressed in my email are strictly my own and do not necessarily reflect those of NASA." "Failure is never quite so frightening as regret." - Cliff's wife (The Dish) -----Original Message----- From: Serge Bernier [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 3:10 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] robot motion animation Hi, I did the same thing a year ago for the canadian space agency in java3d. The vrml files can be loaded easally in java3d with a loader, like vrmlLoader from sun. You probably have to connect all the joints together. Usally the pieces are construct at the origine in CAD. That mean that your gone to have to know all the initial position (x,y,z,pitch,yaw,roll) of the objects. You gone to have to put the objects in differents Transformgroup depending on the configuration of your robot. There a lot of documentation on that on the web (serach: robot+animation+simulation). You can also use the Jacobien method to move your robot. Dont know if that gone to help you in some way!! Good luck with your project. Serg Bernier Selon Yuefeng Kang <[EMAIL PROTECTED]>: > I want to animate the motion of robot. This robot arms are connected by > several joints and it is required that robot arms can be rotated. How can I > do to I draw such robot by Java 3D or if I import the robot model from a > VRML file (which is exported from a CAD file) do I need to rebuild the robot > (redraw robot arms and joints)? > > =========================================================================== > 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". =========================================================================== 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". =========================================================================== 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".