diarmidmackenzie / aframe-components Goto Github PK
View Code? Open in Web Editor NEWA selection of useful A-Frame Components
License: MIT License
A selection of useful A-Frame Components
License: MIT License
The xr-room-physics
component is very helpful. It would be nice to add mesh detection (available on Quest 3) to it.
Like this PR, but for mouse-manipulation
#25
Allow the component to operate without re-parenting for contexts in which re-parenting is problematic
Apps that use persistent anchors using the anchored
component seem to be able to get into a state where the WebXR session gets stuck with invalid anchor information, which triggers exceptions.
The initial symptoms are an exception like this:
Failed to execute 'restorePersistentAnchor' on 'XRSession': Anchor creation failed.
Further analysis of a case where this was happening showed that XR Session reporting 3 anchors in existence.
Didn't completely understand the issue, but it appeared that WebXR calls to either restore or delete the anchors were failing. Using various console commands, eventually managed to clear up the situation, not completely sure how, but possibly attempting (and failing) to restore the anchor, and then subsequently deleting it is what cleared things up.
handle-anchor-error
branch contains some code to handle this failure mode (turning the exception into a warning) and attempt to clean up. Not sure how robust this is, and whether it might just end up masking problems (leading to things moving around when they should be anchored).
XR specs says the list of the known persistent anchors reported
MUST reflect the keys of the map of persistent anchors.
And the specs only say the request to retore or delete an anchor will fail if the anchor ID is not valid, or the session has ended, neither of which seems to be the case.
So maybe a browser bug, but I've not clearly pinned this down yet.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.