- 1、本文档共4页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Deploying Your VR Project
In this article we will discuss deploying to two of the platforms supported by the VR Samples project - DK2 and Gear VR. There are of course a variety of other deployment platforms for VR in various stages of development, and we hope to expand the scope of these articles to support those which release consumer products in the future.
Deploying to the Oculus DK2
While you can easily test your project on the DK2 just by pressing play in Unity, you’ll need to deploy your project for testing outside of Unity occasionally, and for distribution.
Deploying your project for DK2 is quite straightforward. Ensure that the DK2 is working correctly, and that your current selected platform is Standalone (see The Basics section in our? Getting Started in VR with Unity?article).
Ensure that your scene(s) are included under the?Scenes In Build, click?Build and Run?and Unity will export a standard Windows build with a .exe file and supporting content folders.
Run the .exe file as usual, and if a project is is built with VR support enabled, it will attempt to start in VR mode on the DK2 automatically. If you have issues with running the .exe, you may wish to optionally force VR mode, by using the command line argument?-vrmode, which is covered in the? VR Overview?section of the Unity manual.
You might also wish to use a batch file, as shown below:
BuildName.exe -vrmode oculus
Oculus have additional information on? building for DK2.
Deploying to the Gear VR
To set up your environment for Gear VR development, you’ll need to set up both Unity and your phone for Android development first. Keep in mind that the consumer GearVR supports the Samsung Galaxy S6, S6 Edge, S6 Edge+, and Note 5 handsets only at present:
_Set up Unity for Android development_.
_Install the USB drivers for your phone_.
Enable developer settings?on your phone by following? this guide, then enable USB debugging on the developer menu.
Finally, follow the detailed instructions
您可能关注的文档
- Photoshop园林景观效果图制作 任务三:清新风格-某断面效果图制作 项目二任务三 清新风格剖断面效果图.docx
- PHP+MySQL网站开发技术 PHP获取WEB表单数 5-1php实例.docx
- PHP+MySQL网站开发技术 PHP面向对象程序设计 数组实例2.docx
- PLC技术及应用(三菱PLC) 选择性分支状态编程 《选择性分支状态编程》教学设计.doc
- PLC技术应用 课程标准 《PLC控制系统的运行与维护》课程标准.doc
- PLC技术应用 课程标准 《PLC应用技术》课程标准.doc
- PLC技术应用 人才培养方案 应用电子技术专业培养方案1.doc
- PLC控制系统设计与安装调试 5.2.1 移位指令 电子教材--移位指令.doc
- PLC控制系统运行与维护(西门子) STEP7和PLCSIM的初步认识 STEP7和PLCSIM的初步认识.doc
- PLC原理及应用 PLC原理及应用 模块一 PLC概述.doc
文档评论(0)