Vuforia开发日志(二)

安装完Vuforia后需要申请一个key来作为

1.创建一个unity工程需要记住工程名称(此步骤省略)

2.选择gameobject->Vuforia->ARCamera时候会提示是否导入相关内容,选择是,如果是2017.3版本之前的,可以使用unity的包导入相关内容,这里的话unity会自动生成相关信息

image

导入相关的信息后会在Assest中会出现相关文件夹,与之前的Vuforia的文件夹不太一样的是,在Vuforia->prefab下面没有Camera的预制体

image

ARCamera设置

登陆到Vuforia的官网,注册相关账号信息

https://developer.vuforia.com/license-manager

选择GetDevelopment key

image

输入并创建,会得到相关的

image

接着选择

Target Manager,创建识别的数据库,选择Add Database

image

输入相关的名称,选择Device

image

创建后现在新建的数据库,并新建target,新建后将需要设备的图片进行上传。

image

新建的target,可以设置为图片,file为上传的路径(小于2m),width表示大小,默认为1

名称为改target的名称

image

 

image

选择ARCamera时会发现下面警告,需要在file->build Settings –>player Setting 中选择Vuforia Augmented Realit勾选,返回既可以编辑

image image

posted @ 2018-03-25 17:45  ctrl+V工程狮  阅读(159)  评论(0)    收藏  举报