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

convert I3dm metadata to EXT_structural_metadata and EXT_instance_features #1051

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

timoore
Copy link
Contributor

@timoore timoore commented Jan 2, 2025

This mostly follows the lead of PntsToGltfConverter.cpp in converting the I3dm batch table to structural metadata and EXT_instance_features feature IDs. It does not handle the obscure case of an I3dm gltf model that already contains EXT_mesh_gpu_instancing instances. Tested with cesium-unreal and a tileset tiled from CZML.

Happy new year!

The major refactor is to split the very rare case of
EXT_mesh_gpu_instancing extension in the I3dm glTF into another
function, and then reduce code duplication.
This class in PntsToGltfConverter.cpp is useful for dealing with
instance metadata too.
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.

1 participant