alteous

Results 79 comments of alteous

There is no 'editor' API in the main crate at the moment. Your best bet is to [load the GLB](https://docs.rs/gltf/latest/gltf/struct.Glb.html), deserialise the `json` member into [`gltf_json::Root`](https://docs.rs/gltf-json/1.0.0/gltf_json/root/struct.Root.html), update as required, and...

Yes, that's the idea. I imagine user code would look something like this: ```rust if let Some(raw_value) = root.others().get("KHR_texture_transform") { #[derive(Deserialize)] struct KhrTextureTransform { pub foo: i32, ... } let...

This is the current approach, minus the `extension` function. The downside is extensions are deserialized no matter if you use them or not, so it's not zero cost.

@3c1u: we have experimented with this approach before. It was a user experience disaster! :smile: https://github.com/gltf-rs/gltf/issues/11#issue-216892693

There is a likely issue with requiring `T: DeserializeOwned`: it requires the `Deserialize` implementation to be the same version the crate expects.

Requirements for being listed as a 'supported' envrionment: 1. We have first-class support for every feature in the crate. 2. We have automated testing infrastructure in place to catch regressions.

> Is there anything that's holding back "official" support? The second requirement is missing: continuous integration. I've created an AppVeyor account but still need to setup the script. I took...

I took a look into Travis too. As you mentioned, it now has some limited support for Windows server. I'm not sure whether the server edition 'counts' as proof of...

Are you accepting pull requests? I'm eager to update `gltf_system` to use the latest version of the `gltf` crate (0.9). Your users will appreciate the improved API.

FYI, [here is the reference implementation](https://github.com/KhronosGroup/glTF-WebGL-PBR).