This engine packages contains an open source version of the 8th Wall engine with SLAM, VPS, and Hand Tracking removed. The SLAM, VPS, and Hand Tracking algorithms remain proprietary to Niantic Spatial, but other AR features, such as Face Tracking, Image Target tracking, Sky Segmentation are included. Because this core framework is open source, if browser APIs evolve or change, this open source engine code can adjust as needed.
Today, the easiest way to add the engine is to use the Distributed Engine Binary, which also supports SLAM. We will also be working on official releases of the open source engine through npm.
First, serve the engine:
bazel run --config=wasm //reality/app/xr/js:serve-xrThen use the served xr.js file in your project, e.g. https://192.168.68.65:8888/reality/app/xr/js/xr.js.
To build the engine for distribution, run:
bazel build --config=wasmreleasesimd //reality/app/xr/js:bundleOr, if building for a non-SIMD environment, run:
bazel build --config=wasmrelease //reality/app/xr/js:bundle