Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OBJ creators and loaders



On Thursday, September 26, 2002, at 12:36 PM, email@hidden wrote:

Are there any free (or very cheap) products out there which can create .obj models? I found some code which can supposedly read in .obj files (the .obj files are long files written in ascii so it is human readable). I'm not sure if .obj files are supposed to be written in ascii format, or if they can either ascii or binary. When I took an image processing course, the file formats we worked with could be saved as either binary or ascii. Anyway, a project I'm working on, I'd like an easier way to create objects, people, scenes and such without having to create everything by coding it in manually with OpenGL.

Not sure about free editors (though I'm sure there are) but as for readers... there are dozens out there that web search will turn up, and there's even at least one in the sample code included with the old Apple OpenGL SDK (the animating steam engine example).

BUT... it probably will be easier to make your own than to integrate (and fix...) someone else's. Obj files have to take the prize for the most easy-to-parse file format ever, for anything (assuming you're only interested in the part of the spec for defining polygon meshes).

I'd wager there's more programs/code out there that read/write (the mesh subpart) of obj files than any other 3d file format. The only reason is because it's so easy to parse & to generate. (ok, also because Wavefront dominated the market for so long...)

There isn't a binary format.

Follow the link from this excellent page for a full description of the format:
http://astronomy.swin.edu.au/~pbourke/geomformats/

Dan
_______________________________________________
mac-games-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/mac-games-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >OBJ creators and loaders (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.