Giter Site home page Giter Site logo

snowbeefenterprises / openvr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from christophhaag/openvr

0.0 2.0 0.0 150.47 MB

OpenVR SDK

Home Page: http://steamvr.com

License: BSD 3-Clause "New" or "Revised" License

CMake 1.02% C++ 30.41% C# 56.53% C 11.25% GLSL 0.79%

openvr's Introduction

OpenVR is an API and runtime that allows access to VR hardware from multiple vendors without requiring that applications have specific knowledge of the hardware they are targeting. This repository is an SDK that contains the API and samples. The runtime is under SteamVR in Tools on Steam.

Documentation for the API is available in the wiki: https://github.com/ValveSoftware/openvr/wiki/API-Documentation

More information on OpenVR and SteamVR can be found on http://steamvr.com

Building with cmake:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release /path/to/openvr # add -DARCH=32 for 32 bit. -DARCH=64 is default
make

hellovr will be in samples/hellovr_opengl/hellovr

On linux hellovr must be run with samples/hellovr_opengl/hellovr -nocompositor for now. On mesa hellovr should be run with MESA_GL_VERSION_OVERRIDE=4.1 MESA_GLSL_VERSION_OVERRIDE=410 samples/hellovr_opengl/hellovr -nocompositor for now. For convenience samples/hellovr_opengl/run_hellovr.sh is provided.

For building helloworldoverlay:

cd samples/helloworldoverlay/
qmake helloworldoverlay.pro
make

This will build samples/bin/win32/HelloWorldOverlay (yes, really). Start it with

cd samples/bin/win32
LD_LIBRARY_PATH=../../../lib/linux64 gdb ./HelloWorldOverlay

openvr's People

Contributors

joeludwig avatar christophhaag avatar jeremyselan avatar aaronleiby avatar bwrsandman avatar aleiby avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.