Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kikiiiii

macrumors newbie
Original poster
Oct 3, 2008
1
0
Hi, i'm developping an opengl application for iphone, and i'm looking for a .3ds, or .obj loader which can load the models, and use animations.

If someone know where i can find that :)

Thank for helping me. (and sorry, my english is not verry good).
 

SqueegyX

macrumors regular
Mar 24, 2008
108
1
I solved this in a bizarre way. I wrote a ruby script to parse an .obj file and spit out the C code to load the vertex/normal/textureCoords of a model. Then I paste that into a class I have for loading and rendering models.

It's working, but if I can figure out a parser for .obj dorectly in Obj c, that sure would make me happy.
 

fat phil

macrumors 6502
Jul 11, 2008
438
0
Hi, i'm developping an opengl application for iphone, and i'm looking for a .3ds, or .obj loader which can load the models, and use animations.

If someone know where i can find that :)

Thank for helping me. (and sorry, my english is not verry good).

Start with Collada. It's a verbose XML format, and supports (almost) the entire scene graph, including models, materials (and textures), vert weights (for skinning), animation, cameras, lights etc.. Fast becoming the industry standard so you'll find a lot more information on using it than you will with OBJ and 3DS files (which don't contain animation data anyway).

Max exporter: (DON'T USE THE AUTODESK FBX/DAE EXPORTER)
http://www.feelingsoftware.com/content/view/65/79/lang,en/

Community:
http://www.collada.org

Technical (Collada Home):
http://www.khronos.org/collada/
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.