-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Add KHR_draco_mesh_compression support to glTF Exporter #16064
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
Merged
alexchuber
merged 33 commits into
BabylonJS:master
from
alexchuber:exporter_KHR_draco_mesh_compression
Jan 21, 2025
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
d8e5280
Factor encodeMesh API for glTF
alexchuber 7862742
Add KHR_draco_mesh_compression and centralize buffer management in se…
alexchuber f6c6d14
Rename class to BufferManager
alexchuber 1474308
Remove unnecessary async + return value from postExportMeshPrimitive;…
alexchuber a06a536
Use DataWriter in BufferManager
alexchuber 32dab1b
Unrelated: avoid exporting buffers not associated with standard verte…
alexchuber e877b12
Don't use Set iterator to fix UMD build
alexchuber 1324e68
Maintain buffer alignment
alexchuber dca39d7
Fix SKIN_IBM_ACCESSOR_WITH_BYTESTRIDE (why not)
alexchuber f9e2df2
Don't cull buffers of primitives whose encoding failed
alexchuber 7ebb753
Add roundtrip vis test
alexchuber 731b211
Clean up
alexchuber 53f27ad
Clean up
alexchuber 918b59d
Merge branch 'master' into exporter_KHR_draco_mesh_compression
alexchuber 3e91566
Fix iterator UMD issue
alexchuber 6e342d9
Unrelated: prevent NaN in tangents and normals
alexchuber 7bde3e4
Update TypedArray type
alexchuber 5b55b61
Log errors
alexchuber d5d5479
Rename to kind, dracoName
alexchuber cc88fa2
Remove unused short and byte handling
alexchuber dcb9ce8
Use .set for IBM
alexchuber a04f0c2
Rename to meshCompressionMethod to prepare for meshopt
alexchuber 2726415
Rename to getPropertiesWithBufferView
alexchuber 03a3e93
Update comment
alexchuber 6953490
Use Float32Array for animation output writing
alexchuber 70d1870
Remove unused DataWriter import
alexchuber 6a9db89
Update typedArrayToWriteMethod
alexchuber c4dc52a
Missing byteOffset update!
alexchuber a40d768
Fix update to animation output writing
alexchuber 5f63f10
Add float64 support for consistency
alexchuber 1a91469
Exclude BigInt TypedArrays in param type
alexchuber 428c47b
Rename vars
alexchuber ab91e05
Update bufferManager data type
alexchuber File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.