Tutorial :Can I import .obj files for use on the iPad



Question:

Is it possible to create 3D models in other applications (e.g. Vue Esprit) and then export these models as .obj files for use in iPad applications?


Solution:1

Have a look at this OBJ loader hosted at google code.

It was developed by Jeff Lamarche in a series of blog posts.


Solution:2

There isn't any built in support for this, but you can use any C or C++ based OBJ loader to get the data into a usable format, and then render using your standard GL functions.

A good place to start is the GLGravity sample, which has a 3D teapot that it draws, this doesn't have an OBJ loader though.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »