-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some 3D objects looks deformed/destroyed in the imported model #99
Comments
Thanks for reporting. Very strange :/ The original image is not from Unity/glTFast, right? From what is it then? Can you provide the model? You can also cross-check with alternative glTF viewers like this great one. |
@atteneder Sorry for late replying. I was busy in moving to a new city. For the first picture, I used 3D viewer and second picture is tested with GLTFast on Quest. Thanks for sharing the link of GLTF viewer. Please find attached the model. There are also other models with which I am facing the same problem with GLTFast. Any solution? |
What I observed so far: I'm using Unity's Matrix4x4.rotation and Matrix4x4.lossyScale to decompose the Matrix. This algorithm seem to break on objects with:
One workaround is to not use negative scale. I'll have to investigate if other implementations are more robust. |
fix is in the making! @waseemkhan1989 Would you mind it if I share screenshots of your model for educational purpos in my blog? |
@atteneder Yeah sure:). I have no problem with it:) |
* feat(ci): Editor import tests. * refactor: Moved all tests that are actual runtime tests into the correct assembly. * refactor: Converted into easier readable verbatim string. * fix: Ignore test that's expected to fail on Windows.
Hi!
Now, I can successfully import glb files on Quest but some objects in my model looks deformed or destroyed. Here is an example of a car. The image is the original one
This is the one imported through GLTFast on Quest:
How can this issue be corrected?
The text was updated successfully, but these errors were encountered: