Giter Club home page Giter Club logo

goggle-paper's Introduction

Goggle Paper

Positional tracking for Google Cardboard

Adding simple positional tracking to VR goggles like Cardboard inexpensively with paper tracking markers.

Try it

Cardboard, using front camera : Place marker in front of you, or just face a monitor with this page on-screen
Rift DK1 tracking : Put a marker on front of Rift
Debug : Debug camera and orientation data

Tips

  • Have about an inch or more or whitespace surrounding the marker for better tracking
  • For testing, a phone with the marker on-screen works well
  • Tracking is contrast dependent, so the marker being well lit is important

Roadmap

Possibilities:

  • increased robustness, via better algorithms and multiple marker tracking
  • native Cardboard Android app for better performance
  • combining inside-out and outside-in tracking to produce middle-out tracking, for optimal tip-to-tip efficiency
  • abandon project once Google Tango-like positional tracking supported natively and ubiquitiously

Credits

The heavy lifting done by these pieces glued together:

cardboard : google cardboard
three.js : awesome 3d library for the web
js-aruco : js port of the aruco library for tracking

goggle-paper's People

Contributors

mkeblx avatar mrdoob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

goggle-paper's Issues

Incorrect tracking with Xperia Z

This is awesome, thanks for sharing! However, on the Sony Xperia Z, there seems to be a limit for turning my head to the left. When I get to about 90 degrees left, suddenly the whole view turns clockwise 90 degrees and starts rotating up about the Y axis (say the Y axis is the one normal to my face at initialization).

Sorry for the confusing description, but the point is that I'm not getting complete 360 degree motion!

Add support for iOS 8

Since iOS 8, Mobile Safari supports WebGL. The Google VR demos work great.

It would be nice if the Try it pages would work on iOS 8 as well. Currently they show a blank screen.

Unity Support

hi there ! Is there any chance to add Unity support ? Thanks !

AFrame version?

WebVR has pretty much moved away from d3 to Mozilla's AFrame - would be great to see this project to work with AFrame apps! AFrame is based on D3, so I don't think it'd be terribly difficult, but both projects would benefit from the interoperability.

Back camera auto-selection

Some mobile browsers let you choose which camera (front or back) to use but some don't prompt automatically. Either always choose the back camera or have UI for switching between.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.