Animatoin...

i managed to dsplay the 3d object in JAVA…how can i animate the object??my object is a 3D baby…
can i animate the baby in 3dsmax and then load to java to display it??

any loader suggest? thanks alot

As far as I know the 3ds format don’t support skeletal animation. But it supports morphing and transform animation. With mri-v3ds (http://games.swizel-studios.com/libraries.html) you can import the information needed to do the animation. But don’t think anyone has implimentation a renderer yet. You could try coding it, but I think you will run out of time.

Then there is the md2 and md3 formats. Importer source code at gametutorials: http://www.gametutorials.com/Tutorials/opengl/OpenGL_Pg4.htm. I know javaCoolDude ported the tutorials, so implementation is available in java. there are also several java engines that support the md2 format: http://www.jpct.net/, http://www.mojomonkeycoding.com/. I think it is possible to export these formats from 3dstudio.

Mojomonkeycoding md2 test:
http://www.mojomonkeycoding.com/webstart/jmedemo/renderer.loader.TestMd2

im interested in jpctapi…but where do i have to put the library provided by jpctapi???

Put jpct.jar in your application root and include it in the classpath when starting your app

sorry…im not really clear…
can you give me some example on which directory and folder…and how to include the classpath when start my application??

thank you very MUCH!!!

What IDE are you using? Or is this all command-line shenanigans?

Cas :slight_smile:

THanks for the reply…

im using NetBeans-IDE…so, how to do it?
do you know Libraries mri-v3ds?? actually where i should put all the libraries??

i always got error the IDE can’t locate those things :-

import org.lwjgl.;
import org.lwjgl.input.
;
import org.lwjgl.opengl.;
import org.lwjgl.vector.
;

import mri.v3ds.*;

Please help me out…thanks alot