Skip to content
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

Add an ugly flag to glTF draco loader extension #14325

Merged
merged 3 commits into from Sep 20, 2023

Conversation

bghgary
Copy link
Contributor

@bghgary bghgary commented Sep 19, 2023

There appears to be lots of files out there with invalid Draco data where the normalized flag in the data is marked false when it should be true. The glTF accessor info is correct. Draco data is supposed to be self-contained, so this is troubling. For now, adding this flag to read from the glTF accessor instead and log a warning when there is a mismatch.

@bghgary
Copy link
Contributor Author

bghgary commented Sep 19, 2023

I need to figure out how to create files like this. Once that happens, I'll add a visual test in a separate PR.

@bjsplat
Copy link
Collaborator

bjsplat commented Sep 19, 2023

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Sep 19, 2023

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Sep 19, 2023

@bjsplat
Copy link
Collaborator

bjsplat commented Sep 20, 2023

Visualization tests for webgl1 have failed. If some tests failed because the snapshots do not match, the report can be found at

https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14325/merge/testResults/webgl1/index.html

If tests were successful afterwards, this report might not be available anymore.

@bjsplat
Copy link
Collaborator

bjsplat commented Sep 20, 2023

Visualization tests for webgl2 have failed. If some tests failed because the snapshots do not match, the report can be found at

https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14325/merge/testResults/webgl2/index.html

If tests were successful afterwards, this report might not be available anymore.

@bghgary bghgary marked this pull request as ready for review September 20, 2023 00:29
@bghgary bghgary merged commit 33ae7ca into BabylonJS:master Sep 20, 2023
10 checks passed
@bghgary bghgary deleted the draco-fix branch September 20, 2023 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants