- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1k
 
Add support for Cesium RTC #1114
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
Conversation
…tension is used by OpenDroneMap.
| 
           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.  | 
    
| 
           @gemini-cli /review  | 
    
There was a problem hiding this 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_RTCextension, reading and writing thecenterproperty. - 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 
constreference in theSceneclass. 
Overall, this is a solid contribution that improves Draco's support for glTF extensions.
| 
           @FrankGalligan Any thoughts on this PR? Your bot likes it. 😊  | 
    
| 
           @FrankGalligan Any thoughts on this PR?  | 
    
| 
           looks good. Thanks for the PR  | 
    
Add support for Cesium RTC extension in GLTF encoder/decoder. This extension is used by OpenDroneMap.