Repository navigation
On Android, materials take emissionColor, emissionTexture and reflectiveTexture as on iOS, and a reflectiveTexture no longer crashes the app. On the web, AR surfaces are in metres from the first one and keep their ids through a tracking loss, the tracker's point cloud reaches onARPointCloudUpdate and displayPointCloud, hit tests return feature points, the 3D navigators take an opt-in virtual camera, cameras take a field of view, materials take emission and reflection, and a browser without WebGL2 gets a message instead of a blank canvas. The web build needs @reactvision/viro-web-renderer 1.4.0. iOS behaves as in 3.2.3.
Android
emissionColor,emissionTextureandreflectiveTextureon a material work, as on iOS. The first two threw "Invalid color/texture property", and the reflective cube map was loaded and dropped.- A material with a
reflectiveTextureno longer crashes the app (Unable to find "uri" key).
Web
- AR: surfaces in metres and stable through a tracking loss;
onARPointCloudUpdateanddisplayPointCloud;FeaturePointhit results, which Studio's web player falls back to;TRACKING_LIMITEDwith its reason while tracking still holds; dragging and hit tests under a sceneViroCamera. - Navigators:
virtualCameraonViroSceneNavigatorandViro3DSceneNavigator;onWebRendererError, and a message over the canvas when the renderer cannot start. - Cameras and materials:
fieldOfViewonViroCamera;emissionColor,emissionTextureandreflectiveTexture. - Images and models: GIFs play without
ImageDecoder;ViroSpinner's images load in any bundler; a GLB loads as a GLB whatevertypeit is given.
Check when upgrading
- Web: install
@reactvision/viro-web-renderer1.4.0 (the peer range is now^1.4.0) and copy its wholewasm/andslam/folders. With 1.3.0 the new features stay off and a one-time warning names what is missing. - Materials with an
emissionTexturealso need anemissionColor, on every platform: the texture scales it, and it is black by default.