MD2 model loader.

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,586
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 24, 2008

This is my MD2 model loader. I initially used the .obj file format, but switched to MD2. MD2 is easier because it stores animations using vertices instead of bones. I'm not really sure why this is video is so laggy. It's not laggy when I capture it. We plan to make an fps for CS this year :D. Playing around with AI, path find, and raycasted sight will be fun :P The biggest problem I had was with loading PCX images for textures. OpenGL doesn't really like binding PCX images, so I had to program a PCX to BMP converter.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (jSaurabh)

  • can it handle animated meshs?

  • @Anddos25 In the video, the mesh is animated. But that computer sucks so it was chugging.

  • Thank you. can I ask you?

    i have imported models from Blender to C++ opengl but the program did not work. and gave me errors. I think the files I got with the extension .MD2 couldn't be opened. I opened them with notbad I found strange characters such as: IDP2 | </: j_! etc. do you how to let C++ open these files? thank you v.much

  • @mmmm01234 The models are stored in binary. You need to figure out how to read a binary file.

  • where can I find information about import md2 to opengl?, i have a model in blender and I dont know how to import, thanks for your time

  • @ivanlch08 openGL is not a language. You can find how to load md2 into C++ and display them via openGL on google. Try googleing md2 loading.

see all

All Comments (16)

Sign In or Sign Up now to post a comment!
  • nice job :D

  • The md2 file definitely will, but the .obj file won't ,since .obj only stores static meshes. I tried it with blender, and it worked for md2 files.

  • if i make a model in 3d studio max and then if i give to my model in 3d studio max movement by using a biped and then i export it in a .md2 file or .obj file will it have the animation files i gave it in 3d studio max?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more