-
Notifications
You must be signed in to change notification settings - Fork 92
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
Importing 3d models has non-deterministic behavior #12
Comments
Can you provide a small case I can use to verify it's fixed. |
I made a pr here https://github.com/V-Sekai/FBX2glTF/pull/15. Will need to test. |
sorry for the late reply ex.
here is converted model (so maybe this solution works correctly) P.S. |
I'll test turning off optimizations. |
I'm not able to work on this for a short period of time. |
I am looking into this. |
There is some work here to check if the latest build still has this problem. For a future me or a different person. |
Hi! I had a problem that the build for linux does not work (I'm not sure about all the models, but it fell on mine) with optimization -O0 (without optimizations), its failed here
the same problem with artefacts for mac and windows (they are also non deterministic with or without compiler optimizations such as -O1 -O2 -O3).
also the model can be either converted or not converted from launch to launch . I think it may be due to too serious compiler optimizations (mb some variables store trash values).
here channel.index can store negative value (in my case it was -1). So i hot-fixed it as shown below so that the converter would not fall with segmentation fault , but I'm sure it's the wrong solution.
Maybe someone fixed it or have the same problem?
The text was updated successfully, but these errors were encountered: