I'm after a file format specification that serves as a "standard container" for 3D geometry data. I know that CAD applications comply with various universal formats such as IGES and STEP, which allows them to export/import 3D design data between different CAD applications. I'm after something similar specifically for computer graphics.
Basically, I need information on non-application specific 3D file formats. Any suggestions?
My suggestion is to try and make your own, not all formats support all things, and the ones that come close are bloody hard to parse.
I haven't seen the lightwave object format but I'd assume that it wouldn't be 100% suited towards games because half of the processing and all of the animation is stored in the lightwave scene file rather than the object file. I suppose it would be easier then to make an export format based on the two file formats though, although I've never tried.
Try and avoid the 3ds file format, since that only supports one set of texture coordinates per vertex, and right now we definetly need more than that for modern games. I.e. texture map, displacement map, bump map, normal map etc...
DXF might be interesting but I think its text based
MAX is also text based but a lot more complex and contains a large amount of 3DS MAX specific data that is superfluous to games.
You could try checking out DotXSI
http://www.softimage.com/connect/xsi/
It has free plugins for the major 3d programs and a developers toolkit.
Hi everyone,
This doesn't really give an answer to the "which format to use" question, but check out http://www.theregister.co.uk/2004/04/21/intel_u3d/ ... looks like there could finally be a standardised universal file format for 3D information.
Cheers
OJ
Alia: Isn't it always the way :) I'm usually on the other end aswell! Looks like I finally got in before someone else this time :)
I think they're going to have quite a challenge in making a decent format that covers a good percentage of the requirements for people in the industry. Bearing in mind that this (probably?) might not be just for gaming, it'll be a really tough task to keep people happy.
Good luck to them, I look forward to seeing the result.
OJ
Universal 3D File Format In The Works
http://developers.slashdot.org/article.pl?sid=04/04/21/197203
Might be worth reading some of those comments ;)
This discussion topic reminds of the pain I went thru while writing a .3DS parser :S. Specially the key frame animation chunk in a .3DS file is the worst of all.
3ds files are smaller and IO efficient being a binary file. But writing a parser from scratch can be challenging! Simpler file formats such as .ASC, .ASE are easier to read but bulkier. there's always a trade off for efficiency.
The good thing is, if u're not comfortable with one format there's always a second choice and there are hundreds of plugins for interconversion.
Not 100% sure, but i think VRML is an open standard...
Check it out. Lightwave .obj might also be an open format, as i've seen several applications that can import/export them.
CYer, Blitz