"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

Tutorial: Step 3

Hi,

I have problems with the tutorial. I understood the need to generate a. N for ImageTarget application. When I run ndk-build in the samples folder I get:

 

 C:\Development\Android\vuforia-sdk-android-2-0-31\samples>cd ImageTargets-2-0-7 C:\Development\Android\vuforia-sdk-android-2-0-31\samples\ImageTargets-2-0-7>ndk-buildmake: C:\Development\Android\android-ndk-r8e\build/core/build-local.mk: No suchfile or directorymake: *** No rule to make target `C:\Development\Android\android-ndk-r8e\build/core/build-local.mk'.  Stop. C:\Development\Android\vuforia-sdk-android-2-0-31\samples\ImageTargets-2-0-7> I dont understand. Thx.

AlessandroB

Mon, 04/22/2013 - 20:27

Hi, 

have you verified that the NDK is correctly setup by running this :

 

Hi, Alessandro

I've finish the tutorial and i've try the samples(like imagetargets,dominoes,ext)

Now i want to change object in ImageTargets with my own object, but i dont know how to start to change that object

Where i must change the code, i dont know how to say

Hi,

Thanks for replay

I've seen that tutorial and i've try but i still confuse

Could you explain to me gradually sir

I'm so sorry to trouble you

Thanks

Hi, all steps are explained in detail; 

perhaps some of them are a bit more complicated to understand if, for example, you don't have too much familiarity with OpenGL programming (or other aspects);

Hi,

I've follow this post : https://developer.vuforia.com/forum/ios/different-3d-model-not-shown to try change the object in Imagetargets

But when i run, it still teapot in marker

Just edit in ImageTargets.cpp

Thanks for replay

Ok, so, you need to replace bananaVertices with bananaVerts (note: those arrays are defined in banana.h);

this is the correct code (so you can double-check):

Hi,

It's work sir, but the size of banana so tiny

I've try to change the kObjectScale :

Hi, in my tests, a good scale for the banana is around 100.0f;

also, don't forget to always rebuild with ndk-build and then refresh the project in Eclipse each time you make a change.

 

 

Why I have set the QACR enviroment variable, but it still told me 

Hi,

I've so many question about vuforia sir, hope you not bored with my question and thanks for your help

You can use the animated object in any of the sample; this depends what feature of Vuforia you want to use (ImageTargets, FrameMarkers, ...)

 

Can i combine that ?

I mean like combine Virtual Button and Cloud Recognition, or the other

Thank you

Sure, you can combine functionalities from different samples.

For instance, the following tutorial explains how to enable CloudReco features into ImageTargets sample: