#Requirements
Tested with Ubuntu 14.04 and Ubuntu 15.04 with Nouveau graphics drivers.
Does not work with Intel graphic adapters!
Install the following packages from the repository:
- git
- libboost-system-dev
- libboost-thread-dev
- libglew-dev
- libopencv-dev
- qt5-qmake
- libglm-dev
All in one command:
sudo apt install git libboost-system-dev libboost-thread-dev libopencv-dev libglew-dev qt5-qmake libglm-dev
Install the following packages by following the individual installation instructions:
- OpenCTM
- GLFW v3 - Make sure to install it as a shared library!
cmake -DBUILD_SHARED_LIBS=ON ..
- OGLplus
- Oculus SDK for Linux (Experimental) 0.5.0.1-beta
- clone this repository and make sure to get the submodules
git clone https://github.com/stefan-urban/oculus-client.git && cd oculus-client
git submodule update --init
mkdir build && cd build
qmake ..
make
- Start the Oculus Rift Service with
ovrd
(It is possible to start this command as daemon.) - Run application with
./oculus-client <server-ip> <port>
#License
Copyright (C) 2015 Stefan Urban
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
The OVR framework was released under a different license, see below.
Extracted from https://github.com/OculusRiftInAction/OculusRiftInAction which is part of an upcoming book by Bradley Austin Davis, Karen Bryla, and Phillips Alexander Benton: Oculus Rift in Action
Modifications:
- Changed coding style to BSD
- Removed many OS switches, now is Linux only
- Added error handling for OpenGL
The Apache License, Version 2.0 file is included in LICENSE.Apache
.