First, Unity3d environment construction
Download the installation package address: HTTPS://DEVELOPER.VUFORIA.COM/DOWNLOADS/SDK
Download for AndroidDownload for iOSDownload for UWPDownload Unity Extension (legacy)(此是 vuforia unity package)Download Unity(此选项是下载unity 安装程序)
Download the Latest Unity Installer plugin (plugin recommended)
Have Android, IOS, Vuforia and other plugins, as needed??, and then proceed to the next step such as automatic installation steps
or Import official Website Unity package (version too low)
Download Unity Extension (legacy)(此是 vuforia unity package)
Note: The version has not been updated for some time (Unity plugin version is 7.0)
Second, cloud environment settings Vuforia registered account address: Develop:license Manager Target Manager established
License: This is required in the new AR app, where the Vuforia configuration file is filled in
Target: Identity Library Management
Device:本地识别库,需要下载库文件进行导入操作;(有unity、IOS和Android等)Cloud:云识别库VuMark:
Set up a library follow the instructions
Single Image:单图识别Cuboid:Cylinder:3D Object:
Device usage Instructions
Installation actual need to select the identification diagram
Click on the option after download
Android Studio, Xcode or Visual Studio: Developing IDE Description
Unity Editor: Import Unity Package
Okay, identify the library.
Iii. Unity3d using Vuforia plug-in 3.1 Arcamera enable settings
1, right click appears list has vufria--"Arcamera
The right red box appears in the Properties panel with the hint "Vuforia is not enabled. Enable Vuforia in the playersetting in order to modify this object "translated by" Vuforia is not enabled. Enable Vuforia in playersetting to modify this object. ”
2, Path File-->build Setting Pop-up dialog box Click Playersetting the right side of the properties panel appears set options XR Setting have "Vuforia augmented Reality ..." See
Then it will appear,
Good! The basic environment has been built. Start configuration parameters below
3.1.1 Parameter Configuration vuforiaconfiguration
Select the "Open Vuforia Configuration" button in the "Arcamera" properties panel
Such as:
第一个红框App Licenese Key:填写license key 值第二个红框 Max Simultaneous Tracking Images:同一个画面识别跟踪数量(一般移动终端<=5,PC端<=9)第三个红框 Databases :选择识别库也就是TargetManager里的下载的库文件,按照unity的导入unity package的方式导入进去就会出现自定义的数据库;然后??选中;接着Activate ??激活
Good! Key and Identity library configuration complete; Next Configure model to identify components and bindings
3.2 Single Image
Device Library
3.2.1 Add Vuforia component image as a single image recognition
Then bind the configuration to identify the picture, see
Finally on Android device (don't ask me why is mobile device, because in the Vuforia AR project, found that there is no PC camera, so decisively under a USB camera order) on the running results see
Good! The single-image recognition was successfully done.
Cloud Library
3.3 Cuboid
Device Library
Cloud Library
3.4 Cuboid3.5 3D object:3.6 Vumark Library
Reference Address:
Vumark Design and production
Preliminary study on Vuforia Vumark
Use of Vuforia--vumark
Iv. Abnormal situation
Error building player:win32exception:applicationname= '/usr/bin/java/bin/java ' Android SDK configuration exception
Workaround:
尝试了n种方案;然后手抽筋了;最后重启unity3d 然后一切OK了。暂未搞明白为什么。这个结局TMD凶残了。
The reference address is as follows:
39640449
Https://stackoverflow.com/questions/26703178/unity3d-error-building-player-win32exception
73506009
V. Other
Vuforia official website
The difference between collider and trigger in Unity3d collision detection
Vi. Group of Communication
qq:94297366
Reward: Https://pan.baidu.com/s/1dSBXk3eFZu3mAMkw3xu9KQ
Public Number recommendation:
"AR" Vuforia unity3d development environment Construction