KhronosGroup / glTF-Sample-Assets

To store all models and other assets related to glTF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some models are unwelded

prideout opened this issue · comments

Several models (like Suzanne) have their index count == vertex count and therefore have redundant index buffers.

This is a visualization of Suzanne's tangent vectors:
59386035-93368280-8d1a-11e9-8218-8791cb10000f

This issue has not been commented on in 4 years. Is it still of concern @prideout in the Sample-Assets repo? If so, it will be transferred; otherwise, closed by 27 November. No response results in closing this issue.

I think we would all agree that any sample mesh whose index count == vertex count is a poor exemplar for glTF. Maybe just remove it from the repo, or run it through gltf-transform?

With glTF Transform v3.9 this can, if desired, be detected and fixed:

gltf-transform prune in.glb out.glb --keep-indices false

I'll most likely turn the --keep-indices flag on by default in v4.

The fix should happen in the new repo.