Closed bkuster closed 2 years ago
Hello, this crate explicitly states it's for glTF 2.0. As far as I understand, CESIUM_RTC is a glTF 1.0 extension, so i'm not sure this should be added. @aloucks any thought on this ?
edit: oh nevermind, was a bit fast on this, even tho it is supported according to the linked issue, i don't see how to integrate the MODELVIEW semantic either :/
The Issue
The loader does not support the CESIUM_RTC extension.
Solution
CesiumRtc
struct with one filedcenter: [f64; 3]
.[f64; 3]
.extension::Root
now has a fieldcesium_rtc: Option<CesiumRtc>
.Issues
Im still unsure of what to do with the MODELVIEW semantic (apparenty the extension is supported by gltf 2.0, but they never adapted the spec), so I opted to simply ignore it. Not quite sure what happened to the 1.0 techniques and parameters anyway :shrug:.