samuelteixeiras / arplayerforthreejs

Augmented Reality Player For Three.js

Home Page:http://jeromeetienne.github.io/arplayerforthreejs/examples/basic.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Augmented Reality For Three.js

This demo shows how to get augmented reality using only web technologies.

How To Run The Demo ?

Supported Devices

  • It should run on any web browser which support WebGL and getUserMedia
  • It runs on desktop and mobiles.
  • modern phones, such as nexus 6/9, are powerfull enougth to run it
  • unfortunatly ios browser still lack support for getUserMedia, so iphone and ipads can't play :(

Show Don't Tell

  • examples/basic.html [view source] : It shows a basic augmented reality webapp. Good to learn how to use the code. Perfect start point.
  • examples/data-visualization-histogram3d.html [view source] : It shows a possible data visualisation with 3d histogram. You can change the value the way you like. You can get them from a REST API, or from an industrial sensor, what ever you want.
  • examples/contact-sharing-in-ar.html [view source] : It shows how to display informations on a per-marker basis. There is a database which contains the informations. When the proper marker is recognized, the info specific to this marker is displayed. In this example, we provide a contact sharing webapp. Everybody got his own marker. Suppose alice wears a specific marker. Bob load the apps on his mobile, and will see alice contact information when he point it to alice.

threex.jsArucoMarker.js

It recognizes the marker in a video stream. It is then positioned in 3d. You just have to apply that to your own three.js meshes.

threex.webcamgrabbing.js

It handles the video grabbing. It will take the environment camera if it is available. It provides a nice see-through effect.

About

Augmented Reality Player For Three.js

http://jeromeetienne.github.io/arplayerforthreejs/examples/basic.html


Languages

Language:HTML 59.3%Language:JavaScript 39.8%Language:Makefile 0.9%