Skip to content

Fix EXT_structural_metadata property tables when buffer views use EXT_meshopt_compression - #1676

Merged
gkjohnson merged 1 commit into
NASA-AMMOS:masterfrom
Nahuel-M:fix-structural-metadata-meshopt
Aug 7, 2026
Merged

Fix EXT_structural_metadata property tables when buffer views use EXT_meshopt_compression#1676
gkjohnson merged 1 commit into
NASA-AMMOS:masterfrom
Nahuel-M:fix-structural-metadata-meshopt

Conversation

@Nahuel-M

@Nahuel-M Nahuel-M commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Fixes #1675.

getRelevantBuffers() loaded property-table buffer views with parser.loadBufferView( index ), which bypasses the GLTF loader plugin hooks — so buffer views compressed with EXT_meshopt_compression were never decompressed and property values silently decoded as empty/no-data. Going through parser.getDependency( 'bufferView', index ) runs the hooks, the same way three's own extensions load buffer views.

Verified against the PDOK 3D Tiles from the issue: property values (strings and numerics) now decode correctly, and behavior for uncompressed files is unchanged.

@gkjohnson

Copy link
Copy Markdown
Contributor

Great, thank you!

@gkjohnson
gkjohnson merged commit b90df83 into NASA-AMMOS:master Aug 7, 2026
1 check passed
@Nahuel-M
Nahuel-M deleted the fix-structural-metadata-meshopt branch August 13, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EXT_structural_metadata property tables come back empty when buffer views are meshopt-compressed

2 participants