"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Convert from obj to .h file (Urgent) ... please answer me

Dear all, I need to convert my obj file to .h file to have the following arrays like teapot example: - numVertices - vertices - normals - texCoords - numIndices - indices I used the obj2opengl script but it doesn't solved my problem I searched but i didn't find any answer How can i generate .h file to meet the requirements of "Vuforia SDK"? (like teapot.h) Thank you

Khaled1989

Thu, 03/29/2012 - 11:30

Thank you Mr.ksiva i'm do that and the project has been built successfully ... but when i run the project and detect the target marker it's freez the camera and exit from application and write this error in Xcode: error: failed to launch '/Users/khaled/Library/Developer/Xcode/DerivedData/ImageTarg

robertross

Mon, 04/02/2012 - 09:21

You should really have a basic knowledge of OpenGL to develop with Vuforia. Try looking at the ImageTargets.cpp file in the jni directory, there in the renderFrame method you could use: glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ); [B]or[/B] SampleUtils::rotatePoseMatrix(