Instrument / oculus-bridge

A utility and javascript library to link the Oculus Rift with the web
MIT License
297 stars 50 forks source link

Updates to 0.2.5 SDK and added acceleration values #3

Closed nickoneill closed 10 years ago

nickoneill commented 10 years ago

Thanks for this bridge!

nickoneill commented 10 years ago

One other thing: I don't have access to visual studio to test that this builds successfully there. The changes seem simple enough (essentially copy/paste of existing code - I am not skilled in c++!) so I don't expect any big issues.

japboy commented 10 years ago

:+1:

benpurdy commented 10 years ago

Merging this in, thanks for the help! I combined the acceleration and orientation into a new general purpose "update" message. This reduces overhead on the browser since the websocket was getting two messages per update otherwise.

benpurdy commented 10 years ago

Also I'm assuming position data will be added to the API when the crystal cove headset is released so having a general "update" message will allow for future expansion without having to change the message format very much.

nickoneill commented 10 years ago

Ah, that change makes sense. Thanks!