Sign in to follow this  
yuppies

MD2 load help!!

Recommended Posts

Is there any document that explains the file format for MD2 models? I want the file format not some tutorials on how to load the model i need information on how many bytes to allocate (for example in getting frame/vert, etc).. I need the to get information like bytes to allocate per structure. thanks

Share this post


Link to post
Share on other sites
Try WOTSIT or enter: MilkShape in GOOGLE. The Chumbalums web site holds a MD2 (Quake2) model viewer with source. Go there and grab it.

Or perhaps visit www.wotsit.org .

MD2 is very easy to handle. But i advise you, go to more C++ style rather than ANSI C. If you would like to do like the old quake way, use the "malloc". But you can also define a vertex in a structure or class and use MyVertex* pVertex= new MyVertex[numVertices];

Btw. The full Quake2 Source code was released. It is all there.

ftp.idsoftware.com i think?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this