pmndrs / gltfjsx

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

Some transformations missing after transforming gltf file #277

Open benthillerkus opened 1 week ago

benthillerkus commented 1 week 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 2 days ago

could be related to #235

donmccurdy commented 2 days 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 2 days 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.