"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

how to replace teapot

how to replace teapot in imagetarget sample app? what are the types of responses can be used in place of Teapot?

That will help if you want to render a 3D object instead of a teapot. If you want to respond in some other way (e.g. play a sound, show some info, open a webpage) you may want to call a Java method when the target is found.

[FONT=Comic Sans MS] thanks for reply..i seen the thread for adding the toast.i followed the steps but i cant figured out actually where i have to modify the code? please explain it bit more... thanks in advance. [/FONT]

For the first section you're editing the renderFrame method in ImageTargets.cpp. Study that function to figure out where this fits in. Also add lastTrackableId as a global variable in that file. The second section is added to ImageTargetsRenderer.java.

Pepper0818

Wed, 05/02/2018 - 02:48

I have the same question! But I can't find "imagetargets.cpp" in jni. Is there some thing wrong with my package?

And another way to initialize a "banana.java" don't work either.Because jar has updated and mRenderer.drawVideoBackground() can't be used in renderFrame method.