0.1.2 • Published 9 years ago

voxel-vr v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

voxel-vr

WebVR voxel.js plugin

screenshot

Renders the scene side by side in stereo 3D for use with WebVR. Requires voxel-engine-stackgl, and game-shell-fps-camera, load with voxel-plugins.

Replaces the render handler of gl-now to emit gl-render twice per tick, one for each eye, with the viewport and matrices set appropriately. If used on a WebVR-enabled browser (experimental Firefox or Chrome), or on a platform supported by webvr-polyfill, will attempt to use VR settings from a head-mounted VR device.

Warning: incomplete

See also

  • MozVR
  • voxel-oculus - Oculus Rift stereo view for three.js-based voxel-engine, includes lens distortion (note this predates WebVR, with WebVR the browser is expected to perform the lens distortion instead)
  • voxel-oculus-vr - uses OculusRiftEffect.js from three.js
  • three.js example effects - OculusRiftEffect, StereoEffect, and VREffect (WebVR)

License

MIT

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago