By Madgick
on Thu, 03/07/2013 - 19:06
I have followed the tutorials and am able to replace the teapot with the banana, but I would like to make a new object instead of replacing an existing object.
My understanding so far of the banana tutorials is that, when you replace the obj3D variables, you are pointing to an object that is actually defined in AR_EAGLVIEW.mm. Is this correct?
If so, how do I define my own new object, so that I can have both a banana and a teapot next to eachother
Thanks
Creating New Object in Target Images
Hi, if you go inside the "for loop" that iterates through the trackable results, then for each trackable result (and thus for each trackable Pose) you just need to "duplicate" the OpenGL code (the one that you use to render the banana ve
Creating New Object in Target Images
Thanks very much AlessendroB, I will have a go with that and let you know how I get on. I'm ok with moving things around and all that jazz, scaling, rotating etc. So it shouldn't be a problem to get them in view once its working hopefully
Creating New Object in Target Images
Ok I thought I had it, but I must be getting this very wrong. I've tried to create teapot and banana objects by doing the following:
Creating New Object in Target Images
I managed to solve my problem. I had re-ordered some things in the get trackables for loop. Sorted now
Creating New Object in Target Images
Great!