Skip to content

How to smooth imported mesh? #585

Answered by mosra
zaichenhu asked this question in Q&A
Discussion options

You must be logged in to vote

Yup, that's the flag :)

To answer fully -- smooth normal generation relies on the index buffer, so if the mesh is not indexed, you'll still get flat normals. To fix that, perform MeshTools::removeDuplicates() first, which will generate the index buffer.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mosra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #579 on August 18, 2022 10:36.