Skip to main content
gamedev.net
🔒 Locked

Model Format HELP!!!

Started by Kitasia Sep 2, 2005 at 1:04 AM 2 replies 900+ views
Original Post
Kitasia
Kitasia
Could someone please help me out with model loading! I've heard that obj is the easiest format but I've got no information on animating for it. I've tried the MD2 format and loaded my models in some of the loaders but I sometimes get errors, and outside of that, I don't know how I would do animation outside the modeling program. This is driving me nutz!!! I thought I'd do something like build the model make animations for it and load the file information through the code but it seems there's much more to it! A recommended file format and any info you have on it would be much obliged!
clapton
clapton
Quote:
Original post by AntiGuy
I thought I'd do something like build the model make animations for it and load the file information through the code but it seems there's much more to it!


You've got it! There is nothing more, believe me. :) First of all, you have to create the model in some of a 3D moddeling applications (like Milkshape/3D Studio). Then, with use of the same tool you make animations. After the model is done, you need to export it to a file format you'd like (most of the 3D moddeling tools can use different plugins). The rest of the job belongs to the programmer. You have to find a correct file format specification and write a code that loads the mesh from the file together with keyframes and other animation tips. Making the model move/animate is only a matter of using the data read by your loader!

In case of MD2 file format, you might be interested in the following sites :
http://www.xbdev.net/3dformats/md2/md2layout/md2fileformat.php
http://www.draekko.org/documentation/md2format.html

... there's much more. Just try google.

Hope it helps!


___Quote: Know where basis goes, know where rest goes.
cstdio
cstdio
The OBJ file format is pretty "dumb" -- it doesn't have any animation data, just vertex/normal/basic grouping/material data. It's good for static meshes and rigid objects with simple, "mechanical" animations, such as a vehicle with wheels or propellers.

- Nate
Kitasia
Kitasia
Thanks for the advice, I guess I'll stick to MD2 and see what I'm doing wrong. Much Obliged!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.