Model Format Suggestions?

Posts: 46
Joined: 2008.10
Post: #1
Things are rolling along nicely in my little game programming world, but a small question has arisen. The OpenGL text I'm using for my main reference (the trusty OpenGL Game Programming) implies that MD2 (Quake II) model formats are the way to go for a model structure that is flexible and widely-used. The book is a bit aged, though, so I'm wondering if there are newer formats that support a more efficient storage and retrieval of data.

What do you use / prefer? What formats strike a good balance between compatibility and simplicity?

[Full Disclosure: This question was originally posted as a follow-up in an iPhone thread, but not adequately addressed]
[Edited on 4/20: Book link fixed]

"Who's John Galt?"
Quote this message in a reply
Posts: 227
Joined: 2008.08
Post: #2
What makes MD2 better than MDL or MD3?
Quote this message in a reply
Posts: 46
Joined: 2008.10
Post: #3
Good question - I was hoping you could tell me. A brief overview of the other two options you mentioned left me with the impression that MD2 strikes a good balance between capabilities and complexity. Of course, there are many, many others - one of the pages I came across in my original research was , which provides a dizzying list of 3d model file formats. The aim of this thread, though, is to establish community recommendations and reasons for the file formats commonly used by our fellow developers.

"Who's John Galt?"
Quote this message in a reply
Posts: 3,591
Joined: 2003.06
Post: #4
MD2 is fine by me, and arguably the simplest. MD3 (Quake 3) is better because you get bones. MD5 (Doom 3) is better yet. The problem with all those id formats is that there isn't much (any?) software available for editing on the Mac.

The developer of Cheetah3D, Martin, like every other 3D editor developer for the Mac, doesn't appear to be particularly interested in directly supporting game formats like MD2. Can't say I blame him too much since there aren't that many game developers compared to his regular clientele. Plus, he supports FBX in Cheetah3D, and that is a viable and reasonable direction to take, even for game developers. I expect FBX will remain a solid standard for many years to come. Those are the primary reasons why I'm rolling with FBX myself. Autodesk developed FBX and provides the SDK. Unfortunately, FBX is a major pain to figure out. I got it working, but man it wasn't easy at first. On the plus side, it is supported not only by C3D, but also by the industry standards, Maya and 3DS Max, which are autodesk products.

I guess an alternative would be Collada, but I don't know much about that.

BTW, your link to that book is broken. Looking for your other post, I see it is OpenGL Game Programming. I got that book many years ago. It is indeed pretty outdated. MD2 was much more popular back then. Wink
Quote this message in a reply
Posts: 446
Joined: 2002.09
Post: #5
Oddity007 Wrote:What makes MD2 better than MDL or MD3?

In general, MD3 > MD2 > MDL...

Biggest problem with MDL and MD2 is that they were created primarily for software renderers. They use planar texture coords, non ^2 textures, and store vertex position in low precision bytes or shorts. So they're prone to texture smearing tend to require a conversion step to play nice with OpenGL. Plus, if you try to blend keyframes you'll get a "wobble" effect (particularly with MDL files).

MD3 is the best of the bunch but as AnotherJake pointed out there aren't many ways to create any of these formats natively on a Mac. I'll also point out that there are a few versions of MD3 out there - the first version used keyframes and "tags" rather than a true skinned/bones system.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  3d model with MD5 format green_ghost 2 5,600 Jun 21, 2008 07:40 PM
Last Post: green_ghost
  3d model format with normals honkFactory 7 6,323 Jan 13, 2003 04:43 PM
Last Post: furballphat
  Which 3D model format is used on Mac? Mars_999 7 9,680 May 8, 2002 06:54 AM
Last Post: Nimrod