Repository navigation
v1.0.1
v1.0.1
Fixes found running the web player against real scenes. The compiled renderer in this release is virocore 3.0.2; the new calls fall back to the old path on an older binary, but the heap, tap and dropout fixes live in the binary and need this one.
Fixed
- Large models no longer kill the renderer. The heap was fixed at 256 MB, and a 30 to 40 MB generated GLB crossed it once decoded;
abort("OOM")is permanent, so every later call failed and the canvas stayed black. The heap now grows to 2 GB, and glTF loads no longer copy the model. - An abort is reported.
onAbortin the options,renderer.addAbortListener()andrenderer.abortedWith. Model loads in flight settle as failed. - Model files leave the virtual FS once loaded, instead of staying in JS memory for the life of the page.
- Taps land where they are drawn. They were mirrored about the horizontal axis.
- Web AR holds its pose through a dropout instead of snapping to a default orientation. tinyvio's
poseConfidencedecides the state: RotationOnly applies rotation and holds position, None holds the last pose. - The pose is smoothed with a One Euro filter (
poseSmoothing, orfalsefor the raw solve), andonStatusis debounced out of Normal and carriesconfidenceandreason. - The camera feed draws from the stream at
feedWidth/feedHeight(default 1280x960) through a source texture, with no per-frame readback; the tracker gets a downscaled copy. - Web AR starts under Vite. The tracker's wasm path lost its trailing slash in dev, and an engine loaded through
loadSlamwas pointed at the package's copy instead of its own.
Added
PoseConfidence,TrackingReason,PoseFilter,ViroRendererAbortError;ViroSceneApi.createSourceTextureandupdateTextureFromSource.