Your own format is generally the best plan for a game as it means you can tweak to your hearts content to optimise it to suit what you're doing with the data.

Having said that, .obj and .fbx are usually popular (even if you use them as starting points for data to convert to your format) as they're both pretty universal now. obj is simpler, fbx is more comprehensive.

Yeah I understand that your own format would give you the added flexibility of tweaking the format to your spec, however that also would mean I'd need to write an exporter for the likes of maya, max, xsi, or whatever format the artist is familiar with.

I also must admit I don't really understand what benefits a unique structure would give me. Can you give me a better example?

Between obj and fbx I assume any of the major modeling packages can export into those formats? Is one better than the other?

My end goal is to create a fairly "generic" engine that I can use to build a few different 3d game ideas I had.

In addition to riruilo's post in the other thread, Cheetah3D also has a .h export to paste the geometry right into your code.

haudio Wrote:Between obj and fbx I assume any of the major modeling packages can export into those formats? Is one better than the other?

fbx is starting to be used everywhere, but Maya/Max for sure, since fbx was developed by Autodesk. fbx is best if you can figure out how to use it, and perhaps convert data for your own needs.

obj is literally everywhere (originally developed by Alias, who used to own Maya). obj has been around forever and is still widely used in games. I use it myself for static geometry.

The difference between the two is vast. obj only handles static geometry and is simple, whereas fbx handles all kinds of stuff and is complicated, but the biggest advantage for games in fbx is skeletal animation info.

The problem with any existing format is that you have to process it on load. If you use your own format you can store it and load it much more efficiently.

haudio Wrote:Cool thanks for the info. Has anyone had any experience with Collada? I hear it's a pretty good format and is quickly becoming the favorite format for many people... Any pros & cons using Collada?