Vuforia Android SDK explained samples?

I would appreciate if anyone could provide any sources that can help me understand how Vuforia samples for Android work? I installed everything and can run them on my phone, but it's hard to understand the structure of the project.

It would be great if you had a tutorial on creating a simple application ARwith Android Studio(not Unity).

I also learned how to create AR scenes using Unity, export them to Android and run on the device, but still do not understand how to work with the exported project in Android Studio further.

My goal is to have one image target and several 3D objects. I want to have a simple interface, for example ListView, to choose which object to place on the target.

In addition, is it possible to build ListViewwith Android and on your event switch object the events of a 3D object with another in the same scene created in Unity? I know that I can dynamically load 3D models using a Unity C # script, so that I can call some functions in this script via Android?

I would really appreciate any advice.

+4
source share
1 answer

Summary:

Vuforia, xml .dat . , . dat . Xml #.

Vuforia , . .

, ( Unity, ) . Unity, UC Unity . , , CH . .

Vuforia CH https://en.wikipedia.org/wiki/Pattern_recognition, dat , . , , CH. , xml . xml 50x50, 25x25, , , , .

, Vuforia DefaultTrackableEventHandler ( script ), :

public void OnTrackableStateChanged(
                                TrackableBehaviour.Status previousStatus,
                                TrackableBehaviour.Status newStatus)
{
    if (newStatus == TrackableBehaviour.Status.DETECTED ||
        newStatus == TrackableBehaviour.Status.TRACKED ||
        newStatus == TrackableBehaviour.Status.EXTENDED_TRACKED)
    {
        OnTrackingFound();
    }
    else
    {
        OnTrackingLost();
    }
}

, Vuforia , . , OnTrackingFound/Lost . script, ITrackableEventHandler. , . , , . , .

(, ). Unity . (0,0,0) . , 3D-, . , , . Vuforia , Transform, Vuforia. . , , ..

UC , , , 3D-. , .

, , , . Vuforia raycast . .

+3

Source: https://habr.com/ru/post/1652268/


All Articles