I downloaded sample app and setup in xcode. I changed target images with my own image inside xcode. But i need to change teapot image with some text or videoplay or other 3D render. I searched forum, but so many of them trying to get java only. Finally i found this link from this forum http://heikobehrens.net/2009/08/27/obj2opengl/. Still confusing in xcode which file need to change, having teapot.h and EAGLView.h, EAGLView.mm, AR_EAGLView.h,AR_EAGLView.mm,texture.h files are there. Which file need to be change. Im a beginner of this.
- Sort Posts
- 7 replies
- Last post
iOS replace teapot image
September 30, 2013 - 8:34am #3
Im a beginner, but i can learn basic concept within 1 week..Can you tell which .h & .m file i need to change? After that i can learn basic and apply for imageTargets. If i go t o Unity means, what can i do? I downloaded the Unity3D and setup in laptop. I have ImageTargets sample app. Now what can i do with unity3D?
iOS replace teapot image
September 30, 2013 - 5:32am #2
Hello chandnisharma,
In th file ImageTargetsEAGLView.mm, the function renderFrameWithState is drawing a teapot model with OpenGL when an image is tracked. If you would like to render something other than the teapot, delete the code related to this drawing and replace it with your own model or image.
Thanks,
-Vuforia Support