-
Notifications
You must be signed in to change notification settings - Fork 121
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
Smooth By Normals #776
Smooth By Normals #776
Conversation
mm, this look interesting, could you add a screenshot or two ? |
This is still WIP, even once I merge this. I still need to add quad support, as right now it's still pretty ugly. |
Will take a bit of time for me to review this, I have a hundred assignments to grade, probably will review this weekend. |
template <typename T> | ||
void ForVert(int halfedge, std::function<T(int halfedge)> transform, | ||
std::function<void(int halfedge, const T& here, const T& next)> | ||
binaryOp) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pca006132 Don't worry about a serious review - I was mostly curious if you thought this was a reasonable way to handle #775.
Follow-on to #771, that allows smoothing based on input normal properties. Has the convenient side effect of making a solid test since we now have two different paths to create the same type of smoothing, in the case of sharp edges.
I also added
ForVert
, which I think is a good start toward addressing #775.