Jump to content
  • Advertisement
Sign in to follow this  
lud2k

3d Models Animation

This topic is 4480 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I have just a little question to ask.. Is there any 3d file format (.3ds, .ase, .wrl, .x, ...) which got a tutorial with source code that explain how to read it and display the model with the animations ? Don't answer MD2 or any format that looks like it because I need realtime animation. Thanks a lot, Ludovic.

Share this post


Link to post
Share on other sites
Advertisement
You could be a little more specific [smile]

Which programming language do you use?
Which graphics api do you use?
Do you want keyframe vertex animation or skeletal animation?

Regards,
ViLiO

Share this post


Link to post
Share on other sites
I'm using OPENGL and program in C/C++.
skeletal animation I think. But give me both if you have.

Thanks,
Ludovic.

Share this post


Link to post
Share on other sites
If you were working with directx then loading .x files is trivial. X meshes can be saved as ascii so it would be quite possible to write a parser yourself.

I dont know of any free online resources for loading any of the other formats you listed. Gametutorials.com do sell a cd that has source code for loading a keyframe animated 3ds file.
[Edit: from the opengl forum faq there is this thread]

There is a gamedev hosted site (rsn) that had an animated ms3d (milkshape format) loader but the url's on the site are a little malformed up so you will have to do something like "copy link location" and then edit the url to remove the download tracker script that no longer exists/works. The files all still exist in the same place though so it isnt much of a task to get them.

The last thing I can think of are id's model formats (like the md2 format you dismissed). I don't know how you define realtime animation but all the quake games sure looked realtime to me [smile]
The lastest animated player model format from id is .md5 ...It is (i believe) an ascii format that has skeletal information and you could probably find some info on the format (and possibly a loader) on google with some searching. There is also of course md3 (the model format used in quake 3) for which exists a multitude of loaders and again some googling should turn up loads of hits. [grin]

Good luck,
ViLiO

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!