Repository navigation
Web AR in the right place and with more to read: surfaces come out in metres and keep their ids through a tracking loss, and the tracker's point cloud, feature-point hits and each surface's polygon reach the app. Cameras take a field of view, materials take emission and reflection, create() says when the browser has no usable WebGL2, and the gaze reticle is gone. Built on virocore 3.3.0's web build and the tinyvio engine of the same date, both in this package; what @reactvision/react-viro 3.3.0's web components need.
Added
- AR point cloud:
pointCloud,onPointCloudUpdated,setPointCloudEnabledandgetPointCloud, in metres with stable ids;arDisplayPointClouddraws it. - AR hit tests return the feature point nearest the ray (
kind: "featurePoint"); plane hits carrykind: "plane". - AR planes from the live tracker carry
polygon. - Cameras:
setCameraFieldOfView. Materials:setMaterialEmissionColorand theEmissionandReflectivetexture channels.
Changed
- A tracked frame with a reason is
Limited, as ARKit reports it, so the reason reaches the app. - No gaze reticle.
Fixed
- Surfaces appear in metres, and keep their ids through a tracking loss. The first surfaces on an iPhone used to be tens of metres across and away, and a box placed after a loss landed metres off.
create()rejects withViroWebGLUnavailableError("unsupported"or"context-lost") instead of a bareRuntimeError: unreachable, or a renderer that never drew.
Check when upgrading
- Copy the whole
wasm/andslam/folders again: both binaries are new, and older viro releases keep working with them.