[Code] How do you compute weighted vertex normals?
-
I'm trying to follow your conversation,but not sure to understand what are you trying to do.
Do you want to align faces that are nearly aligned? -
@tig said:
Not if the two small areas were equivalent to the large one... then it'd be 'balanced'...
The large area pulls it over then the 1st small are pulls it back and then the 2nd small area pulls it back again.
IF there's a large and a small area the large one 'wins'.Yes, but when they are not, which would be in any non-regular mesh. So I still wonder why one would use area to weigh the normals.
-
-
@voljanko said:
I'm trying to follow your conversation,but not sure to understand what are you trying to do.
Do you want to align faces that are nearly aligned?No, I just want to compute the vertex normals.
In this particular case I need it to be able to calculate some of the topographical characteristic of the mesh. -
My full_angle_between code seem to not work in all scenarios... back to the drawing table...
-
Now I seemed to have corrected it. I had to ensure the vectors I used came in the same direction as the edge loop.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement

