www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: LiuFeng on August 09, 2007, 04:58:09 pm

Title: How to Open md2 file?
Post by: LiuFeng on August 09, 2007, 04:58:09 pm
some body tell me  ;D
Title: Re: How to Open md2 file?
Post by: EgonOlsen on August 09, 2007, 05:50:29 pm
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"?
Title: Re: How to Open md2 file?
Post by: 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 (http://www.jpct.net/download/tmp/viper.zip)
Title: Re: How to Open md2 file?
Post by: LiuFeng on August 10, 2007, 03:14:20 pm
excuse, but i wonder that how to create a md2 file ;D?????
Some body help me!
Title: Re: How to Open md2 file?
Post by: Mizuki Takase on August 10, 2007, 06:23:01 pm
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/ (http://www.blender.org/)
Misfit Model 3d can be found here. http://www.misfitcode.com/misfitmodel3d/olh_mm3dformat.html (http://www.misfitcode.com/misfitmodel3d/olh_mm3dformat.html)


I hope that helps~!
Title: Re: How to Open md2 file?
Post by: LiuFeng on August 11, 2007, 04:08:47 pm
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
Title: Re: How to Open md2 file?
Post by: EgonOlsen on August 12, 2007, 06:23:02 pm
In addition to the two examples that come iwth jPCT, the download page (http://www.jpct.net/download.html (http://www.jpct.net/download.html)) offers some more examples/applications...all with source code included.
Title: Re: How to Open md2 file?
Post by: AcidBurnz on December 22, 2007, 12:31:24 am
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 (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.
Title: Re: How to Open md2 file?
Post by: EgonOlsen on December 22, 2007, 09:21:51 pm
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.