Skip to content

FillTessellator: fix vertex attributes along Bezier curves - #960

Merged
nical merged 1 commit into
nical:mainfrom
moulins:tess-proper-bezier-attrs
Aug 31, 2026
Merged

FillTessellator: fix vertex attributes along Bezier curves#960
nical merged 1 commit into
nical:mainfrom
moulins:tess-proper-bezier-attrs

Conversation

@moulins

@moulins moulins commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Closes #958.

As explained in the linked issue, when reversing the orientation of a curve in EventQueueBuilder::{quadratic, cubic}_bezier_segment, t needs to be exchanged with 1-t to leave the parametrization unchanged.

When a Bezier curve's endpoints get swapped, the `t` parameter needs
to be transformed accordingly (`t -> 1-t`).
@moulins
moulins force-pushed the tess-proper-bezier-attrs branch from 1404b6c to 215c6c6 Compare August 31, 2026 10:16

@nical nical left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nical
nical merged commit 83e3623 into nical:main Aug 31, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FillTessellator produces wrong attributes along upward bezier segments

2 participants