voxel-oculus

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

npm install voxel-oculus
1 downloads in the last week
5 downloads in the last month

voxel-oculus

Oculus stereo view for voxeljs.

Example

var oculus = require('voxel-oculus')
var effect = new oculus(game, {distortion: 0.2, separation: 5});

Parameters

  • 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

npm loves you