Log in or register to post comments

MultiImageTarget

April 10, 2013 - 9:41pm #1

Multiple ImageTargets how to identify the same object

MultiImageTarget

April 11, 2013 - 2:26am #6

Ok, that does not change much.

The only difference is that you can change the Max Simultaneous Image Targets parameter in the Unity Editor, under ARCamera -> QCARBehaviour (using the inspector).

 

MultiImageTarget

April 11, 2013 - 2:20am #5

i'm so sorry,it runs in Untiy3d by C#  not cpp ,Thank you very much the same

MultiImageTarget

April 11, 2013 - 1:59am #4

So, if you mean that you want to show the same 3D model for different image targets, that's supported, you don't need to do anything special;

if you want to show multiple targets (with the same object) simultaneously in the same camera view, you will need to increase the QCAR::HINT_MAX_SIMULTANEOUS_IMAGE_TARGETS parameter (see the code in ImageTargets.cpp)

JNIEXPORT void JNICALL
Java_com_qualcomm_QCARSamples_ImageTargets_ImageTargets_onQCARInitializedNative(JNIEnv *, jobject)
{
    // Register the update callback where we handle the data set swap:
    QCAR::registerCallback(&updateCallback);

    // Comment in to enable tracking of up to 2 targets simultaneously and
    // split the work over multiple frames:
    QCAR::setHint(QCAR::HINT_MAX_SIMULTANEOUS_IMAGE_TARGETS, 2);
}

 

MultiImageTarget

April 11, 2013 - 1:23am #3

Multiple ImageTargets  one Object, thank you very much!

MultiImageTarget

April 11, 2013 - 12:27am #2

Hi, could clarify a bit ?

what do you mean exactly by "identify the same object" ?

 

Log in or register to post comments