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

Support EXT_mesh_gpu_instancing #408

Open
wlinna opened this issue Dec 22, 2023 · 1 comment
Open

Support EXT_mesh_gpu_instancing #408

wlinna opened this issue Dec 22, 2023 · 1 comment

Comments

@wlinna
Copy link
Contributor

wlinna commented Dec 22, 2023

I just noticed that gltf-rs does not support (EXT_mesh_gpu_instancing)[https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_mesh_gpu_instancing/README.md] . I know that at least Three.js may export such meshes, and it would be nice to be able to read such models.

@wlinna wlinna changed the title Support for EXT_mesh_gpu_instancing Support EXT_mesh_gpu_instancing Dec 22, 2023
@CorneliusCornbread
Copy link
Contributor

You can access the extension values yourself with the following functions in the meantime:
https://docs.rs/gltf/latest/gltf/scene/struct.Node.html#method.extension_value
https://docs.rs/gltf/latest/gltf/scene/struct.Node.html#method.extensions

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

No branches or pull requests

2 participants