Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to load a obj file on iOS [closed]

Tags:

ios

opengl-es

3d

Since OpenGL doesn't have any function like GLLoadObjFile('myModel.obj');, What's the best tutorial to load a 3d model file like .obj in a iOS app?

I've tried the wavefront loader but it doesn't seem to be working.

like image 810
ManOx Avatar asked Jul 16 '12 02:07

ManOx


1 Answers

https://github.com/jlamarche/iOS-OpenGLES-Stuff/tree/master/Wavefront%20OBJ%20Loader

It's loader seems pretty decent, supporting even materials from blender, though it uses OpenGL ES 1, the loader classes should work perfectly in ES 2

like image 63
TheAmateurProgrammer Avatar answered Sep 28 '22 06:09

TheAmateurProgrammer