benvanik/vr.js

Support Razer Hydra on Mac

jdarpinian opened this issue · 13 comments

Sixense has a Mac SDK at http://sixense.com/macsdkdownload, so it should be possible to get the Hydra working with the NPAPI plugin on Mac.

This will be awesome. +1

Off topic: @benvanik @jdarpinian - I was able to get node-webkit & vr.js working in harmony on OSX. All with very little effort, so thanks for the hard work. 🎉

So, a cross platform solution appears to be very close.

This will be pretty awesome! +1

+1 and amen to that

Just wondering...

vr.js is distributed with Sixense Windows libraries. This means we could use Razor Hydra without implementation update... Unity Sixense plugin works on Mac OS X if you copy libsixense_x64.dylib as sixense.bundle from Sixense OSX SDK.

So, Razor Hydra withvr.js could work on OS X if you copy libsixense_x64.dylib as sixense.bundle to ~/Library/Internet Plug-Ins/...

I cannot confirm this at this moment though... I will try later anyway.

The code and build files would also have to be changed (USE_SIXENSE is
currently undefined on OSX).

Ben Vanik
http://www.noxa.org

On Sun, Aug 4, 2013 at 9:27 AM, Yu I. notifications@github.com wrote:

Just wondering...

vr.js is distributed with Sixense Windows libraries. This means we could
use Razor Hydra without implementation update... Unity Sixense plugin works
on Mac OS X if you copy libsixense_x64.dylib as sixense.bundle from
Sixense OSX SDK.

So, Razor Hydra withvr.js could work on OS X if you copy
libsixense_x64.dylib as sixense.bundle to ~/Library/Internet Plug-Ins/...

I cannot confirm this at this moment though... I will try later anyway.


Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-22074388
.

@benvanik Ok... Thanks!

otri commented

In case someone wants to try this on Mac, here's the compiled binary with Razor Hydra support built-in. https://dl.dropboxusercontent.com/u/3802245/npvr.plugin.zip

The plugin expects the Sixense shared libraries are installed in:
/usr/local/lib/libsixense_x64.dylib

Doesn't work with Chrome (30.0.1599.69), but does with Safari (6.0.5) and Firefox (22.0 and hah, upgraded just now to 24.0).

👍

@otri Great work! I've just confirmed that it works on Safari 6.0.5 and Firefox 24.0 Mac OS X 10.8. So sad that Chrome stops supporting NPAPI... :(

Perhaps this will be merged into here? Are you going to push request?

otri commented

I will! Just have to get some sleep first. ;)
I also got Razor Hydra working in Unity Pro with a rebuilt bundle. It's so silly Sixense didn't get their plugin working on Mac too. Happy fixing all that.. :)

@otri
Hey ! I'm new to this forum and to Mac also ... I'm trying to use the Razer Hydra with Unity on Mac but that's not easy ... Could you please, explain step by step what you did to make it work, with Mac and with Unity ?
It would be very nice :)

@dydybzh I think it's off-topic though.

Just copy /path/to/sdk/sixenseSDK_linux_OSX/lib/osx/release_dll/libsixense.dylib to /path/to/unity/proj/Assets/Plugins/ then rename libsixense.dylib to sixense.bundle.

Hi, will this let me use the razer hydra on a mac? I successfully created that folder lib and ran the install python script, but to no avail when I launch portal 2 in steam. Thanks.