Skip to content

Commit 599f3c2

Browse files
author
csmartdalton
committed
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)
1 parent d69c474 commit 599f3c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rive_head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0d03957f838861065c01db2c58cd9e7adcd5976e
1+
7968fd06b819e702e1a6fea94221e93e356c889a

0 commit comments

Comments
 (0)