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

Quaternion smoothing #801

Merged
merged 14 commits into from
May 1, 2024
Merged

Quaternion smoothing #801

merged 14 commits into from
May 1, 2024

Conversation

elalish
Copy link
Owner

@elalish elalish commented Apr 30, 2024

This fixes a number of bugs introduced with the quad smoothing. By introducing quaternions and some other math, we get significantly better circular interpolation. We can now create exact cylinders and cones, we're getting ~0.5% error on a sphere and torus that start with only a few vertices. I also reverted an earlier change that had the effect of compressing the parameterization a lot, which skewed colors badly. Still more work to do though.

@elalish elalish self-assigned this Apr 30, 2024
@elalish elalish merged commit a122bde into master May 1, 2024
16 checks passed
@elalish elalish deleted the quatSmooth branch May 1, 2024 04:41
@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