Comments (4)
from model-viewer.
Echoing discussion in #61 (comment)
I think it's fine to pick any given default. However, I also think it's important to give the content author control over what is actually shown to the end user. They may not want a "present in AR" button in some contexts or at all. A boolean configuration is an easy way to enable this flexibility.
from model-viewer.
Related to this topic, the ar
attribute might be better as an ar-controls
attribute. Instead of thinking of it as enabling or disabling AR altogether, we should think of it as enabling or disabling the built-in controls for launching AR.
from model-viewer.
I think that "AR" (WebXR, ML, iOS, etc.) should be the default, and if for some reason, someone's visiting this content on Helio, Chrome Canary with WebXR flags, or on iOS with a USDZ provided, which is already a terribly small subset of users, it "just works" without having to opt in. This is part of the "works out of the box" story, rather than needing to explicitly enable, or worse, enable for different AR platforms (would have to keep up to date on what is supported, and update content accordingly). If a developer wanted to explicitly disable AR, we could provide a disable-ar
attribute, or disable-{webxr|magicleap}
for individual platforms.
We should make this work by default with AR, and have an attribute for the exceptional case. Thoughts?
from model-viewer.
Related Issues (20)
- AR Rendering Issue on First-Time Camera Permission Grant on Android Devices HOT 1
- AR mode ("View in your space" button) not works HOT 1
- Custom Shader Integration in "model-viewer"
- RangeError: Length out of range of buffer HOT 2
- Update lit dependency to 3.1 HOT 6
- SSAO not working on Example website
- Module not found: Error: Can't resolve './styles/evaluators', and many more HOT 5
- Unable to get canvas of the invisible model if there are multiple models on the page and there are less than two models visible HOT 4
- use of "auto" in /editor/ output creates wrong orbit distance
- Is is possible to launch AR mode automatically?
- Missing propagation of the progress event reason
- Frames Rendering to Incorrect Canvas - Multiple Model-Viewers on Page HOT 6
- Ar button problem HOT 1
- How to access the hierarchy and then Three.js changes each object. HOT 1
- When I use scene viewer the model is placed sideways. HOT 1
- Setup lantern demo : bulb light should be visible outside of lantern box
- Generated usdz has a random y rotation when the auto-rotate attribute is used HOT 2
- Generated USDZ files don't work anymore on VisionOS 1.2 beta HOT 5
- AutoUSDZ broken in iOS 17.5 beta HOT 18
- xr-environment attribute causes errors the second time a webxr session is started HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from model-viewer.