当前位置: 移动技术网 > IT编程>移动开发>IOS > iOS face tracking结合unity ARKit Remote实现素材编辑

iOS face tracking结合unity ARKit Remote实现素材编辑

2018年10月03日  | 移动技术网IT编程  | 我要评论

生而高贵的灵魂,大自然的语言ppt,鞋业招聘网

ios最新的红外线相机提供face tracking能力,具体参考apple官方文档facetracking,unity社区提供一个很强大的工具,可以远程调试face tracking功能,动态修改素材。本文详细介绍了如何使用unity arkit remote.

1:编译arkit remote

首先你需要把arkit remote scene编译进你的真机里(这里以iphonex为例子)

1:从bitbucket下载最新的arkit plugin插件,导入unity editor(一定要使用相同版本!)

2:打开“assets/unityarkitplugin/arkitremote/unityarkitremote” scene.

3:选择“assets/unityarkitplugin/resources/unityarkitplugin/arkitsettings”,勾选“arkit uses facetracking”。

\

4:选择buildsetting(在menu file/build settings)and 勾选上development build ,场景只选择unityarkitremote(否则会导致连不上)。

\

5:通过xcode编译进你的iphonex.

2:远程连接上arkit remote

1:通过usb口连接上iphonex

2: 在设备上启动arkit remote,出现提示信息“waiting for connection..”

3:在unity editor 里,通过console里连接上iphonex.

\

4: 打开工程“assets/unityarkitplugin/examples/facetracking/faceanchorscene”,点击“play”,里面还有其他几个例子,包括素材编辑等等。

\

5:连上设备以后,点击“start arkit face tracking session.” ,就可以实时进行调试了

\

3:素材编辑

所有的face tracking数据都能够传输到unity editor里面,后续的设计就可以交给设计师了。

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网