Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flair normals #835

Merged
merged 4 commits into from
Jun 11, 2024
Merged

Flair normals #835

merged 4 commits into from
Jun 11, 2024

Conversation

elalish
Copy link
Owner

@elalish elalish commented Jun 11, 2024

This updates SetNormals to flair out the normals along sharp creases to better match the curvature they will connect to.

@elalish elalish self-assigned this Jun 11, 2024
@elalish
Copy link
Owner Author

elalish commented Jun 11, 2024

Before:
image

After:
image

@elalish
Copy link
Owner Author

elalish commented Jun 11, 2024

I think I'm finally happy with how smoothing is working. @pca006132, here is your crazy SDF (with minor modifications) automatically smoothed. Note how it keeps flat faces flat, while curving quads and triangles. I'm impressed with how well it can smooth even a very low-res shape like this, especially since it's constrained to keeping every input vert exactly on the surface.
image

@elalish elalish merged commit 62d0f25 into master Jun 11, 2024
18 checks passed
@elalish elalish deleted the flairNormals branch June 11, 2024 18:38
@elalish elalish mentioned this pull request Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant