Skip to content

Remove vertices with no associated triangle(s) #988

Answered by donmccurdy
nebis-software asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @nebis-software! This is not officially a "feature" of the CLI, but I think you could still remove unused vertices by first un-welding and then re-welding meshes:

gltf-transform unweld in.glb tmp.glb
gltf-transform weld tmp.glb out.glb

If the model doesn't look correct after welding, you may need to reduce the tolerance for the weld step with a flag like:

--tolerance 0.00001

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@nebis-software
Comment options

Answer selected by donmccurdy
Comment options

You must be logged in to vote
1 reply
@donmccurdy
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants