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.