"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 flip camera feed

hi have a small requirement as when the marker is shown the 3d image popups and when it is removed a different action should take place, but how to know marker is removed.

robertross

Wed, 06/01/2011 - 08:38

QCAR::State state = QCAR::Renderer::getInstance().begin(); if (state.getNumActiveTrackables() <= 0){ //...do stuff... } I did something like that.

Yep, or if you have multiple markers you can keep track of the current status for each one, and take action when the status changes.

robertross

Thu, 06/02/2011 - 09:01

You would have to add the code to call a java method... [CODE] jclass javaClass = env->GetObjectClass(obj); jmethodID myJavaMethod = env->GetMethodID(javaClass, "myMethod", "()V"); env->CallVoidMethod(obj, myJavaMethod);[/CODE]