How to Open md2 file?

Started by LiuFeng, August 09, 2007, 04:58:09 PM

Previous topic - Next topic

LiuFeng


EgonOlsen

By using the appropiate methods in Loader (loadMD2)? I'm sorry, but have you even tried to load it or are you asking "just in case"?

Klaudiusz

Please use search option on the forum:)

Have a look into Egon demo,  very short and clear:

http://www.jpct.net/download/tmp/viper.zip

LiuFeng

excuse, but i wonder that how to create a md2 file ;D?????
Some body help me!

Mizuki Takase

To load a MD2 file, you will need to use the static method Loader.loadMD2(java.lang.String filename, float newScale) which will return an instance of Object3D that will contain all of your mesh data.


For creating a MD2 file, I usually like to create a 3D mesh in either Blender or 3D Studio Max and then import the 3D mesh into another program called Misfit Model 3D. There, I would have to rig the mesh with bones and create a proper skeleton. Afterwards, I would create animations using the bones that I placed and save as a MD2 file.
Blender can be found here. http://www.blender.org/
Misfit Model 3d can be found here. http://www.misfitcode.com/misfitmodel3d/olh_mm3dformat.html


I hope that helps~!

LiuFeng

thankyou everybody!!!!

Sorry if i'm said English not well, I'm Vietnamese

now, i'm begin learn jpct, and need very much of source code demo for learn

I wish someone can share for me

thankyou very much!     ;D

EgonOlsen

In addition to the two examples that come iwth jPCT, the download page (http://www.jpct.net/download.html) offers some more examples/applications...all with source code included.

AcidBurnz

Quote from: Klaudiusz on August 09, 2007, 07:01:11 PM
Please use search option on the forum:)

Have a look into Egon demo,  very short and clear:

http://www.jpct.net/download/tmp/viper.zip

I hate to resurrect an old thread, but would it be possible to list this download on the homepage? It's helped me a lot and I'm sure it would benefit others too.

EgonOlsen

I'm glad it helped, but it was never meant to be an official example. But if it is helpful, i can add it add to the download section. But that will take a while, because i've limited access ATM.