"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

Distance to target for dummies?

Hey

 

I'm very new to both Android development and Vuforia.All I want to with Vuforia is to calculate the distance from camera to target and use that to fluently change the amplitude of a given sound.

 

However this: https://developer.vuforia.com/resources/dev-guide/distance-target doesn't help as I can't figure out where to do this.I'll probably use the Image Target sample for this. As I understand, I should include the code, given in above link, somewhere in the sample file, but where? And how exactly?

 

Thank you in advance for your help :)

No, we plan to add more tutorials in the future which are Java-centric (as many of the old ones still refer to C++); however, porting from C++ to Java shoud be straigthforward, provided that you have some familiarity with Java programming.