Generated GLTF file doesn't seem to work with quicklook #4309
-
Hello, I am trying to display a generated model (or rather a model that addapts size and recources based on user inputs) and it works fine with webXR but it seems like when switching to quicklook it can not find the src anymore? Quicklook keeps being stuck in loading
The code is basically from #3767 with an added JSON.stringify as I kept getting wrong format errors without it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Oh well it seems to be an issue with the exported gltf ... I exported and downloaded it it works fine on android and in model viewer but there seems to be something that IOS ain't happy with. While going through a lot of info I read something about previews or posters for IOS? Any Ideas would be much appreciated ~The Intern |
Beta Was this translation helpful? Give feedback.
-
Found the Issue. It was in my mesh generation. USDZ doesn't accept THREE.MeshBasicMaterial() it wants THREE.MeshStandardMaterial() instead. Don't know if this belongs here as it ended up being a three issue but it would be nice to see some documentation on how to get three geometry work with model viewer :) As I am doing this for my aapprenticeship for univercity I will be writing some documentation anyway and if there is any interest here I will add it :) |
Beta Was this translation helpful? Give feedback.
Found the Issue. It was in my mesh generation. USDZ doesn't accept THREE.MeshBasicMaterial() it wants THREE.MeshStandardMaterial() instead.
Don't know if this belongs here as it ended up being a three issue but it would be nice to see some documentation on how to get three geometry work with model viewer :)
As I am doing this for my aapprenticeship for univercity I will be writing some documentation anyway and if there is any interest here I will add it :)