[pico]vrtk_pico 功能集成安卓平台

unity版本

unity2019.3.6

 

描述

本项目演示了如何将VRTK场景与Pico VR SDK集成。如下图所示,在Assets-VRTK中已经使用PicoSDKv2.8.5配置了七个场景,供参考。

备注

请记住,指南必须按这个顺序执行。如果没有,那么集成就可能不像预期的那样。应该已经安装了VRTK,您需要访问该文件夹中的文件。它在Unity2019.3.6f1中进行了测试,并确认在该版本中可以工作。并不是所有的特性都可以实现。这些特性可以在提供的VRTK演示场景中找到。另外,一定要事先备份(或两个)。

 

SDK推荐配置

  • 对于Color Space,Gamma和Linear都已支持。选择Gamma,则Blit Type里Never或Always都可选择。

 

 

安装

https://github.com/picoxr/VRTK-Support pico文件夹和prefab预制体下载地址)

  1. 导入Pico SDK并Apply推荐的设置。设置Android平台为构建目标。Import Pico SDK and apply recommended settings. This will also set the build target to Android.

 

  1. 将“Pico”文件夹复制到您的项目VRTK->Source->SDK文件夹中。Copy the "Pico" folder (located in the SDK folder) into your projects VRTK->Source->SDK folder.

 

  1. 将“PicoVR.prefab”文件复制到您的项目预置文件夹中。Copy the "PicoVR.prefab" file into your projects prefab folder.

 

  1. 关闭unity。Close Unity.

 

  1. 当Unituy关闭的时候,将VRTK_SDKManager.cs文件中的“VRTK_SDKManager.cs”文件替换为现有文件(以便让VRTK检测到Pico耳机)!Replace the "VRTK_SDKManager.cs" file in the VRTK -> Source -> Scripts -> Utilities -> SDK folder with the existing file (in order to let VRTK detect the Pico headset) while Unity is closed!
  2. 重新启动unity项目。Reopen the Unity project.
  3. 将PicoVR预制件拖到场景中[VRTK_SDKManager]->[VRTK_SDKSetups]。 Drag PicoVR prefab into your scenes [VRTK_SDKManager] -> [VRTK_SDKSetups].

 

  1. 选择[VRTK_SDKManager]并将您刚才放置的PicoVR游戏对象添加到设置列表中。Select [VRTK_SDKManager] and add the PicoVR game object that you just placed into the setups list.

 

  1. 单击[VRTK_SDKManager]中的“删除所有符号”按钮。Click on the “Remove All Symbols" button in the [VRTK_SDKManager].

 

  1. 取消勾选“自动管理器”,单击“立即管理”按钮,然后再次勾选“自动管理”。Uncheck “Auto Manager”, click on the “Manage Now" button and check the “Auto Manage" once again.

 

  1. 转到“编辑”>“项目设置”>“播放器”>“XR设置”,并添加“无”作为VR设备的选项。Go to Edit > Project settings > Player > XR Settings and add “None” as an option for VR devices.

 

  1. 连接您正在处理的特定应用程序所需的所有组件(如果有的话)。Hook up all required components for the specific application you are working on (if there are any.)

 

  1. 就完了!You're done!

 

 

评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值