CaptainTrunks / jme-cardboard

Google Cardboard integration for jMonkeyEngine 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jme-cardboard

Google Cardboard integration for jMonkeyEngine 3

How do I use this thing!?

Before using it, you need to add Android support to your project through the SDK:

http://wiki.jmonkeyengine.org/doku.php/jme3:android?s[]=android

You also need to follow the instructions for how to develop for Google Cardboard:

https://developers.google.com/cardboard/android/download

Then, the project specific things:

  1. Add jme-cardboard.jar to your project.
  2. Turn on Android deployment for your project (Properties/Application/Android
  3. In the generated MainActivity.java (Important Files/Android Main Activity) have it extend CardboardHarness instead of AndroidHarness.
  4. Change the appClass in the same to your project's application file.
  5. Enjoy?

For an example, look at test/CardboardStarTravel

If you wish to build the sources yourself, it needs access to an android.jar file.

Disclaimer: This has been developed against jMonkeyEngine 3.1. Support in 3.0 is not verified.

About

Google Cardboard integration for jMonkeyEngine 3

License:Other


Languages

Language:Java 100.0%