Calculating bezier curve smoothness?
-
Anyone got an idea on how to calculate the number of segments a bezier curve needs in other to ensure a given smoothness? (Max angle between each edge segment.)

-
Hi, thomthom:
I have returned to this post several times trying to start a reply. I am not qualified to even provide the beginning of an answer. But I can see several questions that might need to be considered. And I think I am pathologically inclined to try to help.
Would the degree depend on the final view? I mean how far "away" will you view the object?
Or, how smooth is smooth enough?
Or, 130 degrees?
If a Bezier curve, let alone a Bezier surface, is adjustable/editable, couldn't this action remove the smoothness you have already established? -
@mitcorb said:
Or, how smooth is smooth enough?
User spesified. The user defines what the maximum angle between edges are which can be considered smooth.
@mitcorb said:
If a Bezier curve, let alone a Bezier surface, is adjustable/editable, couldn't this action remove the smoothness you have already established?
I'm trying to contemplate an automatic segment adjustment based on how smooth the user wants the curve. An alternative to manually setting the segment count.
@mitcorb said:
I mean how far "away" will you view the object?
Unknown.
@mitcorb said:
Would the degree depend on the final view?
Not in this case. It is something I've also considered, adjustment according to the view, but right now I'd just like to work out how many segments a bezier curve need in order to ensure a minimum smoothness based on the angles between the line segments.
-
The first person that comes to mind regarding this is Fredo6. -but there may be others.
-
Not sure if this is what your after. Still it might be useful info:
http://www.antigrain.com/research/adaptive_bezier/index.html -
@pixero said:
Not sure if this is what your after. Still it might be useful info:
http://www.antigrain.com/research/adaptive_bezier/index.htmlThat looks very interesting. I quickly scanned it and it seems to be what I'm looking for. He describe the issues with bezier curves I wanted to deal with.

-
Check his updates at the end of the article also.
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