VR系列——Oculus Rift入門手冊:一、SDK入門

SDK入門

現在您的Oculus Rift已插入,並且驅動程序已安裝,您就可以安裝SDK並嘗試演示了。

Oculus Rift SDK 設置

本節介紹如何設置SDK。

安裝

Oculus SDK的最新版本總是可以從Oculus開發者中心取到。

要下載最新的包,訪問http://developer.oculus.com

SDK版本使用product.major.minor.patch格式。例如,0.5.0.1意味着商品0,5主要,次要0,1補丁。

注意:本節中的說明假設您已經安裝了Oculus Rift和Oculus運行時包。

編譯器設置

LibOVR庫不需要異常處理或RTTI支持。

您的遊戲或應用程序可以禁用這些特性以提高效率。

Makefiles文件,項目,和構建解決方案

開發人員可以使用Samples和LibOVR/Projects目錄下的項目和解決方案重新構建示例和LibOVR。

Windows

SDK給Visual Studio2010,2012和2013提供瞭解決方案和項目文件。Samples/Projects/Windows/VSxxxx/Samples.sln, 或2012/2013等同的,是主要的解決方案,允許您建立和運行示例和LibOVR本身。


原文如下


Getting Started with the SDK

Now that your Oculus Rift is plugged in and the drivers are installed, you are ready to install the SDK and try the demos.

Oculus Rift SDK Setup

This section describes how to set up the SDK.

Installation

The latest version of the Oculus SDK is always available from the Oculus Developer Center.

To download the latest package, go to http://developer.oculus.com.

SDK versions use a product.major.minor.patch format. For example, 0.5.0.1 means Product 0, Major 5, Minor 0, Patch 1.

Note: The instructions in this section assume you have installed the Oculus Rift and Oculus runtime package.

Compiler Settings

The LibOVR libraries do not require exception handling or RTTI support.

Your game or application can disable these features for efficiency.

Makefiles, Projects, and Build Solutions

Developers can rebuild the samples and LibOVR using the projects and solutions in the Samples and LibOVR/Projects directories.

Windows

Solutions and project files for Visual Studio 2010, 2012 and 2013 are provided with the SDK. Samples/Projects/Windows/VSxxxx/Samples.sln, or the 2012/2013 equivalent, is the main solution that allows you to build and run the samples, and LibOVR itself.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章