Amenez Paris (ou Hawaii) dans votre salon avec Chromium WebAR

WebXR, 2eme session, WebVR + WebAR:

A note of warning: Chromium-WebAR is not a production ready framework. It is solely a proposal to set up the foundations of WebAR. Consequently developers ARE expected to have issues and spark a debate.

Magic?

Step 1: have hardware to send and receive only your kind of light

Step 2: count how long it takes for your light to come back

Step 3: took little time? point is close. Took a long time? Point is far. You then get a cloud of points. Process it, do magic.

Step 4 (bonus): texture it thanks to your wide angle RGB camera.

Foundations

Testing

Examples to explore in that order (growing complexity):

Note that there are few more complex examples like object catalogue with measuring with WayFair Google I/O 2017 prototype or distance based point cloud coloring but they are not released yet.

Going further

Note that this entire application, the WayFair prototype, is based on THREE.WebAR.positionAndRotateObject3DWithPickingPointAndPlaneInPointCloud to pick 4 points in space, the first 3 to define a place and the last 1 to define a volume. It might look like it's using more complex features but it's not hence the importance of this function in the API.

Functions of the API

What's not there yet

Making

It's now your turn to play with all that. Assuming you did at least skim through everything, starting from the concept to the examples and finally the key functions then Remix on Glitch and modify one of the examples. Starting, safely, with a simple one.
Note that the Chromium-WebAR browser includes a QR-code scanner, cf the top right button. Consequently once you have remixed your project just scan your QR code to test your content!

Going MUCH further

This was a very short introduction to get the basic concepts and start a WebAR experience under 1h. Now there is so much more to do and learn. Check the references in order to see how all this is done, to find the relevant slack, etc.