Skip to main content
Up and Coming
January 20, 2014

Java native interface compilation on Mac OSX

Hi, we need someone to compile the binaries for Mac, there must be someone who can do this around here?

Here are links to the sources:

https://github.com/mabrowning/JRift

or

https://code.google.com/p/jmonkeyengine-oculus-rift/source/browse/#svn%2Ftrunk%2Fcpp%253Fstate%253Dclosed

Any project is fine since they now both have Quaternion support!

If the community doesn't step up can somebody at oculus spend 15 minutes so the 10+ million java developers in the world can use the rift 6 months after the release without having to buy a Mac, or is that too much to ask?

    7 replies

    Inspiring
    January 21, 2014
    I'm confused. It sounds like you are asking for Mac binaries, but are claiming you don't have a Mac.

    Hopefully someone from the community can help, I don't think Oculus itself is supporting unofficial libraries.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    rupyAuthor
    Up and Coming
    January 22, 2014
    I don't have a mac, but other people do.

    So in order to get other people, that have a mac, to play my game; I need binaries for Mac OSX.

    Let me know if you're still confused.

    Edit: I guess cybereality doesn't know that Java is cross platform, which then makes me think maybe others at Oculus are clueless too, please ask Carmack about this issue at the first opportunity you get, he will build the Java API in an afternoon because he understands these things, specially since he has built it for Android (Java on ARM linux) already.
    "It's like Homeworld in first person." Disable Aero and vSync for a completely simulator sickness free experience with 2xHz FPS. Keep the config utility open for tracking to work.
    Inspiring
    January 22, 2014
    There's also a library here that reads the head tacker information via Java and some HID libraries. No platform specific binaries.
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action
    rupyAuthor
    Up and Coming
    January 23, 2014
    "jherico" wrote:
    There's also a library here that reads the head tacker information via Java and some HID libraries. No platform specific binaries.


    It works! Will make someone test it on Mac.

    Too bad there are no latency tester methods to compare the speed of this method!

    Good job!
    "It's like Homeworld in first person." Disable Aero and vSync for a completely simulator sickness free experience with 2xHz FPS. Keep the config utility open for tracking to work.
    rupyAuthor
    Up and Coming
    January 25, 2014
    Ok ran into a serious problem: Your quaternion code spins out of control if I look over my shoulder for a while... completely stomach turning. Party stopper. Back to drawing board while Oculus employees dream of unicorns...
    "It's like Homeworld in first person." Disable Aero and vSync for a completely simulator sickness free experience with 2xHz FPS. Keep the config utility open for tracking to work.
    Inspiring
    January 25, 2014
    Are you talking about my use of Quaternions in the Java version of the sensor fusion code?
    Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action
    rupyAuthor
    Up and Coming
    January 25, 2014
    I don't know where the problem is, only that when I look over my shoulder the orientation slowly rotates, then faster and faster until it makes you throw up. This method: FusionSensor.getOrientation();, or maybe it's me not setting it up properly, but it works fine if you only look in the "forward" hemisphere.
    "It's like Homeworld in first person." Disable Aero and vSync for a completely simulator sickness free experience with 2xHz FPS. Keep the config utility open for tracking to work.