Skip to content

cyrilzhang/perspective

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Perspective

Disclaimer (since this seems to be getting a bit of attention): the code is bad, and the gameplay is really bad. Take this with a grain of salt.

Before Apple enables WebGL outside of iAd (which may be never), this requires some sort of hack. You can enable WebGL with a jailbroken device or a developer account.

This is meant to demonstrate a basic virtual reality system using WebGL/Three.js. It uses the iPad's gyroscope (ondeviceorientation) events to control the player's field of view, emulating a camera. Touch events demonstrate point picking.

Textures from Planetary Visions.

About

iOS virtual reality with Three.js/WebGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published