Oculus Rift DK2 support for OGRE 3D. Uses Oculus SDK 0.7.
- Download and install the Oculus Runtime for SDK 0.7.0.0.
- Download the Oculus 0.7.0.0 SDK.
- Download the OGRE 1.9 SDK.
- Download the GLEW 1.13.0 SDK.
- Create the three environment variables OGRE_HOME, OCULUS_HOME and GLEW_HOME with the path to the respective SDKs.
- Clone the repository and build the solution with CMake.
- Open the solution in your IDE. Build the projects ALL_BUILD and INSTALL.
- The runnable application can now be found in dist/bin/OgreOculus.exe.
- After the initial installation, it is only necessary to build the OgreOculus project.
- Alter the Ogre model through OgreModel.cpp. Make sure to add new resources to resources.cfg.
- Physics are handled by a separate loop in PhysicsLoop.cpp. Please consult this file for further instructions.
- Move using WASD or arrow keys.
- Rotate body using mouse.
- Look around by physically turning your head when wearing the Oculus Rift.
- Hold Shift to move at double speed.
- Reset position by pressing R.
- Exit application by pressing Esc.