Log in or register to post comments

Replacing the teapot.

June 6, 2012 - 1:49am #1

Hi,

Ok. I am very new to this, though I do have a bit of coding experience but not using java and am therefore learning as I go along. Very simply I am looking to replace the teapot in the ImageTargets sample. I understand (I think) that I want to change some code in the renderFrame method. To begin with could someone point me in the direction of where I can find this I have searched about but with no luck.

Cheers! :-)

Re: Replacing the teapot.

June 11, 2012 - 2:04am #3

I think you were trying to link to here http://ar.qualcomm.at/node/2000231

Here's a simple Plane object header that you can try - http://pastebin.com/cUNA8krx

Hope this helps Taylrl2.

Rob.

Re: Replacing the teapot.

June 6, 2012 - 7:47am #2

Here's a thread describing the steps necessary to load and render you own model - http://ar.qualcomm.at/node/2000231

Basically you'll need to convert it to a header file, include that in your project and then render the model using glDrawArrays().

Log in or register to post comments