"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

Use Custom OpenGL model instead of Teapot

Hi, I have a Model Object (.obj). I have generated the .h file for the model using the script at [url]http://heikobehrens.net/2009/08/27/obj2opengl/[/url] Please help me with the steps I should follow to use this model instead of the teapot in the Sample Project. I’m doing it for a iOS device. Best regards, Harsh

harshmathur

Wed, 11/16/2011 - 17:38

Found it, my texture file was not right. Also, I should be using glDrawArrays instead. Now, I can see the model. The problem is, it is very small. How do I scale it up? Best regards, Harsh

heathborders

Tue, 11/29/2011 - 05:48

Harsh, How did you create your texture file for your obj file? I've created a scene in blender, and I export as an obj file to run through the script you mentioned, but it doesn't generate a texture file. Thanks! -Heath