pmndrs / gltfjsx

🎮 Turns GLTFs into JSX components
https://gltf.pmnd.rs
MIT License
4.83k stars 318 forks source link

Some transformations missing after transforming gltf file #277

Open benthillerkus opened 1 month ago

benthillerkus commented 1 month ago

Using this viewer: https://gltf-viewer.donmccurdy.com/

Here's both a transformed and the original GLTF. With the transformed GLTF the window shutters are misplaced. venice-transformed.zip

hichemfantar commented 1 month ago

could be related to #235

donmccurdy commented 1 month ago

I think this issue is unrelated to removing UVs and normals: upstream issue in https://github.com/donmccurdy/glTF-Transform/issues/1505 with details.

donmccurdy commented 1 month ago

To be fixed upstream by https://github.com/donmccurdy/glTF-Transform/pull/1507. The cause of the bug was that glTF Transform's instance() function did not correctly handle files that already used glTF's GPU instancing extension, EXT_mesh_gpu_instancing.