![]() ![]() Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary -disable-gpu-vsync -disable-image-transport-surface -disable-threaded-compositing -in-process-gpu InstallĪ Canary or Chromium build and launch it as follows: There are many features in Chrome you can disable to decrease latency. If you want fancy HTML docs, see the Online Documentation. Everything is in the vr.js file right now. Source: examples/threejs_boxes_demo.htmlĬode is heavily commented - it's best to read that. ![]() Source: examples/sixense_sensor_viz.html.You must have the plugin installed before they will run: You should see a successful message box.cd to bin\ in the path you extracted the ZIP into.Select the bin\ folder in the path you extracted the ZIP into.Check 'Developer mode' and click 'Load unpacked extension'.Run bin/install.sh to install the plugin.If using the experimental Chrome USB driver you can run on both OS X and Linux. Chrome 26 (surprisingly good performance).Pure Javascript device drivers, pretty insane, huh?! If you want to see something really crazy, check out the experimental pure Javascript driver for Chrome. NOTE: the Oculus SDK doesn't like sharing devices - you must close other OculusĪpps before using this in your browser and must close your browser if you want This pluginĪllows for a latency similar to if you were developing a native applicationĪgainst the Oculus SDK and, when running on a correctly configured computer, I don't recommend it - the latency is simply too high (~10ms). Oh, and though it's possible to use node and WebSockets to get the sensor data There's also an example three.js wrapper underĮxamples/js/effects/ that works pretty well. Rendering the distored scene that should be easy to drop into any WebGLĪpplication. If you want, it even has a slick API for easily Library makes it simple to query the device values in just a few lines of codeīut also handles more advanced things like computing all the math required for Oculus Rift and Razer Hydra to Javascript in a performant, easy-to-use way. Vr.js, in conjunction with a required native browser plugin, exposes the An experimental NPAPI plugin for Chrome and Firefox that exposes fun VR devices. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |