Androidapp Summary of Vuforia combined with Unity3d to develop AR

Source: Internet
Author: User

Original address: Https://software.intel.com/zh-cn/blogs/2014/07/09/vuforia-unity3d-ar-androidapp/?utm_campaign=CSDN&utm _source=intel.csdn.net&utm_medium=link&utm_content=%20others-vuforia

The process for the entire development process is this:

1. Generate 3D portraits in Unity3d;

2. Register on Vuforia website, upload the identification image;

3. Download the image Unity package and vuforia-unity-android-ios-2-8-7.unitypackage;

4. Import the image Unity package and vuforia-unity-android-ios-2-8-7.unitypackage in Unity3d, and import the generated Unity3d portrait;

5. Generate APK.

This summary, said in Unity3d in the generation of 3D portrait.

The obj format and fbx format files can be imported into Unity3d, but obj and FBX are not mapped, and my map file here is in PNG format. Here you will learn how to combine maps and models in Unity3d:

Create a new folder "textures" in the assets folder of the Unity3d project to copy the PNG file in:

Import the FBX file under the assets path, noting that the FBX file and the PNG file have the same file name:

There is a "No Name" file in the materials file:

In the "Inspector" window, "None (Texture)" Click "Select" to select the PNG file.

At this point, click on the fbx file in the Assets folder and the map will go up.

Then right-click the Assets folder and select "Export Package" to export the Unitypackage file for Unity3d portrait.

Some things to note:

1. When uploading a vuforia image, the image size is limited, about 2.25M. After uploading the recognition image, Vuforia will rate the recognition image, the higher the star the more easily identified.

2. When adding a 3D portrait, the portrait is placed under the Imagetarget.

3. When creating the APK, make sure the Android SDK is not too old, I have failed to build the apk before, and then directly download the latest Android SDK from Google OK.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.