Log in or register to post comments

a step back: how to change the teapot into another 3d model?

July 2, 2011 - 1:15pm #4

hey guys,

i'm a flash ActionScript AR developer (FlarToolKit) who moved to Java as soon as i saw the quality of the augmented reality i could make with this awesome product of yours.
i have managed to create and activate the Image target sample run and work on my android.

now i would like to recreate all my previous AR apps and migrate them from Flash to Java.
but i cant seem to find the code that places 3d models onto the trackables. where is the tracker? where is the teapot being placed onto the marker? how do you change the trackable name in the code?

sorry if that's a too-java-coding question.
thanks for the fantastic SDK !
hopefully i could starting using it soon enough... :)

Re: a step back: how to change the teapot into another 3d model?

July 3, 2011 - 2:04pm #3

Check out the jni folder in your project. It has the header files defining the 3d models, as well as the native code that handles the rendering. I'd suggest either modifying an existing header file with your own model information as a start.

Good luck!

--Kenner

Re: a step back: how to change the teapot into another 3d model?

July 5, 2011 - 11:40am #2

Hi Shachar,

You can also take a look at this thread for some tips modifying the native code. http://ar.qualcomm.at/node/2000446

Since you are coming from a Flash / Actionscript background you may want to take a look at Unity3D with the QCAR extension.

Thank you,

-Peter

Re: a step back: how to change the teapot into another 3d model?

July 11, 2011 - 1:17pm #1

why do you recommend Unity ?

i work with that environment at my day job, so i'm familiar with that.
will it help me create 3D models?
will it help me in managing the models and the markers? i mean which model to which marker?
could i easily let the user change textures for the 3D models?

Log in or register to post comments