Nice rounded corners (bevel) in 2D
1295 3 0- element33
- Member
- 74 posts
- Joined: Jan. 2015
- Offline
What's the most elegant way to get a nice. rounded corner in a 2D shape, where the sharp corners are? I tried bevel on points (on light green points), bevel on edges (the dark green edges), but the results aren't smooth. The best results I got was with qLibs "Rounded corners" OTL, plus some smoothing (on the right), but it still took some post-processing.
- Konstantin Magnus
- Member
- 670 posts
- Joined: Sept. 2013
- Online
I usually calculate the smooth minimum of a grid towards both curves.
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
- Konstantin Magnus
- Member
- 670 posts
- Joined: Sept. 2013
- Online
You could also look into blurring with weights.
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
- element33
- Member
- 74 posts
- Joined: Jan. 2015
- Offline
-
- Quick Links