Skip to content

deathcap/voxel-oculus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

voxel-oculus

Oculus stereo view for voxeljs.

Example

var createOculus = require('voxel-oculus');
var oculus = createOculus(game, {distortion: 0.2, separation: 5});
oculus.enable();

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

About

Oculus stereo view for voxeljs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%