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.

你可能感兴趣的:(VR)