node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…


3D Side by Side stereo view to be used with the Oculus Rift


Oculus stereo view for voxeljs.

var oculus = require('voxel-oculus')
var effect = new oculus(game, {distortion: 0.2, separation: 5});
  • separation: eye separation
  • distorsion: distorsion factor to compensate lens distortion
  • aspectFactor: modify width/height

E.g for 3d TV: distorsion=0 and aspectFactor=0.5