A good 3d format to export to and read from in a game?

The interface, modeling, 3d editing tools, import/export, feature requests, etc

Moderators: jesterKing, stiv

Post Reply
icemanxp
Posts: 0
Joined: Sat May 26, 2007 6:21 pm
Location: Edmonton

A good 3d format to export to and read from in a game?

Post by icemanxp »

Hi I have recently embarked on creating a new game engine (openGL + c++) and I was wondering what would be a good file format to export to from blender and import into my game. I don't have much experience with binary i/o but i can work with ASCII fairly well. I'm not very concerned with supporting animations and my engine will probably only use triangles with textures and normals.

Can anyone point out some good file formates to work with and possibly direct me to useful libraries associated with them?

Thank you.

LetterRip
Posts: 0
Joined: Thu Mar 25, 2004 7:03 am

Post by LetterRip »

obj should work fine for your purposes, is fairly simple format easy to parse, and contains all of the info you seem to need.

LetterRip

ronbravo
Posts: 0
Joined: Mon May 14, 2007 11:12 pm

Post by ronbravo »

I would recommend collada:

http://www.khronos.org/collada/

It's pretty simple and uses xml. That way if you ever decided to go from just reading in triangles and textures to more complicated stuff it wouldn't be that hard to support.

Post Reply