-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the segmentation of feathered curves more uniform
The old method would have tiny pops and wobbles when the segmentation snapped while animating a feathered curve. With the recursion it also wasn't well suited to being moved to the GPU. Redo the segmentation based entirely on uniform steps in tangent angle. As feather grows initially, we need smaller segments, but once we cross a certain threshold, we can start making the segments bigger again. This introduces precision issues in some places where more joins are overlapping, but in these scenarios our end goal will be to render to a scaled-down, offscreen atlas, and this atlas can be fp32. The uniform steps in tangent angle will also be very easy to move to the GPU. Diffs= 7968fd06b8 Make the segmentation of feathered curves more uniform (#9008) Co-authored-by: Chris Dalton <[email protected]>
- Loading branch information
1 parent
9d5c56f
commit e21572f
Showing
6 changed files
with
224 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0d03957f838861065c01db2c58cd9e7adcd5976e | ||
7968fd06b819e702e1a6fea94221e93e356c889a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.