0
Files
src/third_party/webxr_test_pages
Piotr Bialecki de5d2b840a WebXR - AR - anchors - bring anchor creation up to spec
With the latest spec change, WebXR Anchors API should strive to create
anchors such that the anchor location reflects the knowledge of the
world (& the spaces) as of the time of XRFrame used to make the call.
For Chrome's implementation, it means that we should rely of the notion
of stationary & dynamic XRSpaces, and in case the app wants to create
an anchor relative to a space that is considered a dynamic one, we
should use the current knowledge of the world to calculate anchor's pose
w.r.t. a stationary XRSpace that is deemed best - currently, we will
attempt to use local space for anchor creation and fall back to
unbounded reference space.

Spec draft PR with the corresponding change to the spec:
https://github.com/immersive-web/anchors/pull/42

Change-Id: I25398844cd7d92dc8a2af76c8175e6098b099452
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2194594
Commit-Queue: Piotr Bialecki <bialpio@chromium.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Cr-Commit-Position: refs/heads/master@{#768007}
2020-05-12 22:42:03 +00:00
..

Name: Immersive Web - WebXR Samples
Short Name: webxr-samples
URL: https://github.com/immersive-web/webxr-samples/
Version: 0
Revision: 2727b46707d766e358152194fbb4f6b2647ef2e9
Date: 2019-01-15
License: MIT
License File: NOT_SHIPPED
Security Critical: no

Description:
A fork of the WebXR samples to be kept in sync with Chrome and used for testing Chrome.

Local Modifications:

- Forked to provide a stable set of test pages in sync with Chrome.

- Stripped out the media/ directory to minimize the size.

- Adapted samples to work without node compilation

- Added source from https://github.com/toji/gl-matrix (MIT licensed)
  to js/third-party/gl-matrix, including license file and README.chromium.

- Added missing license file and README.chromium for dat.gui

- Removed the version shim, the samples are intended to work specifically
  with the ToT Chrome version.

Instructions:

In order to serve the samples locally, few steps are required:

1. Copy contents of src/chrome/test/data/xr/webxr_samples/media into
   src/third_party/webxr_test_pages/webxr-samples/media

2. Serve files, for example by running
   `python -m SimpleHTTPServer <port number>` in
   src/third_party/webxr_test_pages/webxr-samples

3. If you are having trouble with the python server such as it being unreliable
   serving media like the gltf files, try using "npm serve".
   To install: `sudo npm install -g serve`
   To run: `serve .` in src/third_party/webxr_test_pages/webxr-samples

To publish samples for OT:

1. python make_ot_samples_folder.py webxr-samples <dest-folder>
   That copies just the subset of samples that we want to publish.

2. Serve <dest-folder> locally and make sure everything works.

3. python update_bucket.py --direct-publish-samples-source=<dest-folder> --direct-publish-samples-dest=<bucket-dest-subfolder>