【Vuforia】制作简单的AR--demo(有卡识别)

1.首先在Vuforia官网上下载插件导入unity中

Vuforia官网:https://developer.vuforia.com/downloads/sdk
【Vuforia】制作简单的AR--demo(有卡识别)

【Vuforia】制作简单的AR--demo(有卡识别)

2.导入成功后unity工具栏就会多一栏Vuforia

【Vuforia】制作简单的AR--demo(有卡识别)

3.删除unity中的Main Camera,然后添加ARCamera

【Vuforia】制作简单的AR--demo(有卡识别)

【Vuforia】制作简单的AR--demo(有卡识别)

4.在Vuforia官网获取证书秘钥

【Vuforia】制作简单的AR--demo(有卡识别)

添加信息
【Vuforia】制作简单的AR--demo(有卡识别)

注册证书秘钥成功
【Vuforia】制作简单的AR--demo(有卡识别)

5.点击Test(刚刚注册的证书名),复制秘钥到VuforiaConfiguration下的APP License Key

【Vuforia】制作简单的AR--demo(有卡识别)

【Vuforia】制作简单的AR--demo(有卡识别)

【Vuforia】制作简单的AR--demo(有卡识别)

6.上传标识卡到Vuforia官网

【Vuforia】制作简单的AR--demo(有卡识别)

【Vuforia】制作简单的AR--demo(有卡识别)

【Vuforia】制作简单的AR--demo(有卡识别)

【Vuforia】制作简单的AR--demo(有卡识别)

【Vuforia】制作简单的AR--demo(有卡识别)

7.下载标识卡信息

【Vuforia】制作简单的AR--demo(有卡识别)

【Vuforia】制作简单的AR--demo(有卡识别)

8.将标识卡信息导入unity

【Vuforia】制作简单的AR--demo(有卡识别)

9.在VuforiaConfiguration下点击加载标识卡信息并active

【Vuforia】制作简单的AR--demo(有卡识别)

10.导入游戏对象3D模型

11.在unity中添加ImageTarget

【Vuforia】制作简单的AR--demo(有卡识别)

12.在unity中运行结果

【Vuforia】制作简单的AR--demo(有卡识别)