A simple VR application that targets Meta Quest 2 VR headset.
- Andrea Mecchia @ sneppy
Before cloning the repository, download and unzip the Oculus Mobile SDK:
~$ cd Projects
~/Projects$ mkdir ovr_sdk_mobile && cd ovr_sdk_mobile
~/Projects/ovr_sdk_mobile$ unzip ~/Downloads/ovr_sdk_mobile_1.50.0
Create a directory in the SDK where to place your VR projects, and clone this repository:
~/Projects/ovr_sdk_mobile$ mkdir VrProject && cd VrProjects
~/Projects/ovr_sdk_mobile/VrProjects$ git clone git@github.com:sneppy/VaporWorldVR.git
Cd into the Android project, and run gradlew
:
~/Projects/ovr_sdk_mobile/VrProjects/Projects/Android$ ../../../../gradlew
If you haven't configured the Android SDK, or you misconfigured it, you will see some errors. See Configure Android SDK for more informations.
Finally, run the build(Debug|Release)
task to build and test the application, and the install(Debug|Release)
task to install the application on the connected device:
~/Projects/ovr_sdk_mobile/VrProjects/Projects/Android$ ../../../../gradlew installRelease
If you are having problems connecting the headset, follow the steps on the Device Setup page.
You can also run gradlew tasks
to get a list of all available tasks.