Page 1 of 1

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

Posted: Sat May 26, 2007 6:39 pm
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.

Posted: Sat May 26, 2007 10:11 pm
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.


Posted: Sun May 27, 2007 12:36 am
by ronbravo
I would recommend 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.