Replies: 7 comments
-
@efsjouw That's a SceneViewer error, so I'll forward it to @tpsiaki. Meanwhile, please check your glTF here, as that may give you more actionable feedback on what may be wrong with it, if anything: https://github.khronos.org/glTF-Validator/ |
Beta Was this translation helpful? Give feedback.
-
Alright the validator gives me a similar message. Also some UNUSED_OBJECT messages I will look into this, but I am not sure what these errors mean right now. |
Beta Was this translation helpful? Give feedback.
-
@efsjouw What software exported the glTF? It would be good to file a bug on them as well with the validator messages. Are there errors or only warnings? It's a little surprising that our parser can handle it properly if the glTF is actually invalid. |
Beta Was this translation helpful? Give feedback.
-
It was exported in Blender using the standard settings. EDIT - We redid the export with 3ds Max and Babylon.js and now it passes the validator but still shows up with a black background in the viewer. |
Beta Was this translation helpful? Give feedback.
-
I know this is tagged as 'not model-viewer' but where am I supposed to leave this issue, as I understand scene viewer is closed source? So this problem is not solvable? The only thing it does is open the model with a black background without any errors, would logcat show me any info? |
Beta Was this translation helpful? Give feedback.
-
I found a workaround by opening the model I had exported from the 3ds max babylon exporter here: then re-exporting as a .glb file. This removed the errors in the file and allowed me to open on android without the black background. |
Beta Was this translation helpful? Give feedback.
-
That doesn't appear to work for me, also it seems to make the file much larger. |
Beta Was this translation helpful? Give feedback.
-
Description
I am trying to use the AR viewer button with my model, but it only appears to open the full-screen Scene Viewer with a black background.
File: https://nickel-pushy-iris.glitch.me/assets/babylonexport.glb
When replaced by the astronaut from the demo here it does work:
https://model-viewer.glitch.me/
https://arvr.google.com/scene-viewer-preview
EDIT: export with 3ds Max and Babylon.js and fixing filesize and uv we have no errors in the scene viewer anymore and it the file passes the validator. But the scene viewer still opens fullscreen with a black background...
Live Demo
https://nickel-pushy-iris.glitch.me/
Browser Affected
OS
Versions
model-viewer: v0.9.0
three.js: ?
[email protected]
[email protected]
[email protected]
[email protected]
@magicleap/prismatic
[email protected]
Beta Was this translation helpful? Give feedback.
All reactions