I am developing ios app in which i have to show object scanned by Augmented Reality. For this i am using Vuforia ios Sdk for rendering my 3D object model.
But issue is i am not aware of how to load .obj and .mtl extension file in ios sdk for 3d model.
Thanks in advance and appreciate all answers.
Rendering 3D model has nothing to do with Vuforia - you draw what you want, probably with OpenGL. In one of their sample they do demonstrate showing a 3D teapot model on the detected target. If you have your own obj model, convert it to a header file (there are tools for that) in order to have the model values in the proper arrays (vertices, texCoords and normals), like in the example (look at the 'Teapot.h" file). I was using this tool some time ago: obj2opengl
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With