- Sort Posts
- 2 replies
- Last post
Image instead of render
August 21, 2017 - 8:40am #3
Image instead of render
August 17, 2017 - 4:12pm #2
Hello marcBalado,
In that file (ImageTargetsEAGLView.mm) the function renderFrameWithState is drawing a teapot model with OpenGL when an image is tracked. If you would like to remove the teapot, delete the code related to this drawing.
For example:
glVertexAttribPointer(vertexHandle, 3, GL_FLOAT, GL_FALSE, 0, (const GLvoid*)teapotVertices); glVertexAttribPointer(normalHandle, 3, GL_FLOAT, GL_FALSE, 0, (const GLvoid*)teapotNormals); glVertexAttribPointer(textureCoordHandle, 2, GL_FLOAT, GL_FALSE, 0, (const GLvoid*)teapotTexCoords);
Hope this helps!
Thanks,
-Vuforia Support
Thanks!!
I'm almost there, just need to get the good Coordinate for my image. I need to link the vertexHandle to my image size. Can you help?
Thanks again!