Skip to content

Conversation

@NathanMOlson
Copy link
Contributor

Add support for Cesium RTC extension in GLTF encoder/decoder. This extension is used by OpenDroneMap.

@smathermather
Copy link

smathermather commented Aug 12, 2025

Just to add flavor: we think this is a feature of general use to draco users outside OpenDroneMap, and prefer to upstream features when we believe this to be the case. Thanks so much for opening this pull request @NathanMOlson.

@FrankGalligan
Copy link
Collaborator

@gemini-cli /review

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📋 Review Summary

This pull request adds support for the CESIUM_RTC glTF extension to both the encoder and decoder. The changes are well-structured and include corresponding tests to ensure correctness.

🔍 General Feedback

  • The implementation correctly handles the CESIUM_RTC extension, reading and writing the center property.
  • New unit tests have been added to cover both the decoding and encoding paths, which is great.
  • I've provided a few suggestions to enhance performance and code clarity. Specifically, I've pointed out an opportunity to optimize the extension checking logic in the decoder and to avoid an unnecessary copy by returning a const reference in the Scene class.

Overall, this is a solid contribution that improves Draco's support for glTF extensions.

@NathanMOlson
Copy link
Contributor Author

@FrankGalligan Any thoughts on this PR? Your bot likes it. 😊

@NathanMOlson
Copy link
Contributor Author

@FrankGalligan Any thoughts on this PR?

@ondys ondys self-assigned this Sep 4, 2025
@ondys
Copy link
Collaborator

ondys commented Sep 4, 2025

looks good. Thanks for the PR

@ondys ondys merged commit e801aeb into google:main Sep 4, 2025
31 checks passed
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.

4 participants