Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
rupy's avatar
rupy
Honored Guest
11 years ago

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

  • 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.
  • rupy's avatar
    rupy
    Honored Guest
    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.
  • There's also a library here that reads the head tacker information via Java and some HID libraries. No platform specific binaries.
  • rupy's avatar
    rupy
    Honored Guest
    "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!
  • rupy's avatar
    rupy
    Honored Guest
    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...
  • Are you talking about my use of Quaternions in the Java version of the sensor fusion code?
  • rupy's avatar
    rupy
    Honored Guest
    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.