Replies: 1 comment 6 replies
-
I think you have a misunderstanding - Scene Viewer is Android-only; you mention iOS, which would be Quick Look. Also, Quick Look can represent an updated model because USDZExporter exports on the fly from the scene. Scene Viewer cannot do this because it redownloads the URL from the server, so blobs don't work. However, WebXR works fine on Android since it's still the same scene in the browser. Does that help? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I'm guessing this is a long shot, but perhaps someone has some experience with the following:
I'm working on a
3D Viewer / AR Viewer
that also allows users to apply color/textures changes on the viewed model.Then I want to make it possible to see the model in AR on a mobile device including the user made changes.
I was inspired by the iOS Quick Look code to use the GLTFExporter in order to export the modified scene on the fly and hand it over to the SceneViewer as an Object URL. However, the scene viewer always opens and then closes (crashes) without being able to load the model.
With several models I tried, even if I just run the model through the export, without any changes, it just seems to break.
In the case of the Astronaut, not making changes and running through the exporter did load fine in SV. However, if I change the color of a material and try to export and load into the Viewer, it breaks. The model-viewer editor is able to show it just fine though:
Is there a known issue with the Exporter? Or is there a way to debug why the SV is crashing?
I tried playing with the exporter options (trs, onlyVisible, includeCustomExtensions) but that didn't seem to have any effect.
This is my (simplified) code:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions