PDA

View Full Version : MD3



nukem
12-01-2002, 10:13 AM
I am looking for a good tutorial that will show me how to load MD3's. The catch is I would really like the tutorial aimed at linux people or a port of the tutorial on linux.

Thanks,
Nuke

cbwan
12-01-2002, 11:17 AM
http://www.cfxweb.net/~lonerunn/opengl.php

OpenGL Advance MD3Load

that's where I found the code to write a md3loader. it was enough to understand how it works. you should be able to write a linux loader with this.
(I think only Model.cpp/h are relevant)

but you should try md5 http://www.opengl.org/discussion_boards/ubb/wink.gif)

have fun!
cb
--
In case you're fuzzy on the good/bad performance thing, that's "good"-as in fast. -- Michael Abrash

DopeFish
12-01-2002, 03:57 PM
http://www.hellkrisp.com/md3view/

nukem
12-01-2002, 05:10 PM
cbwan: thanks for the site its for win but since it uses glut it should be easly ported.
dopefish: ive acctually seen that site the problem is that it doesnt do animation or put the hole model together.

thanks guys!

zed
12-01-2002, 05:20 PM
another place www.gametutorials.com (http://www.gametutorials.com)

DopeFish
12-01-2002, 06:08 PM
It does the whole model fine, unless youre referring to *multiple* models linked with tags.

Its not hard to add animation support to it neither.

nukem
12-01-2002, 07:40 PM
Ya I was referring multiple models linked with tags. I was thinking that myself but I wanted the code there for the extra comfort. http://www.opengl.org/discussion_boards/ubb/wink.gif

kingping
12-03-2002, 12:24 AM
Originally posted by nukem:
dopefish: ive acctually seen that site the problem is that it doesnt do animation or put the hole model together.

It _does_ feature animation just it was pretty much an afterthought. Seeing as I couldn't find any documentation on it myself I guessed that the vertices for the other frames were stored directly after the vertices for the first frame.

I didn't get round to adding tag support mainly because of a lack of documentation on the format, but also because it would require an overhaul of the interface.

nukem
12-03-2002, 02:36 AM
Ya someone really should write docs on this. It does seem that all the MD3 engines that im looking at are fairly the same.