[Research] Use stencil testing for erasing strokes #22

Closed
opened 2025-12-29 05:19:04 +01:00 by adam · 0 comments
Owner

Originally created by @dscyrescotti on GitHub (May 21, 2024).

Originally assigned to: @dscyrescotti on GitHub.

So far, the eraser is implemented to remove strokes drawn on the canvas by using color attachment. It might be inefficient when introducing other elements like pictures or primitive shapes. So it is a call to research stencil testing to pass erased vertices to strokes overlayed by eraser stroke.

Originally created by @dscyrescotti on GitHub (May 21, 2024). Originally assigned to: @dscyrescotti on GitHub. So far, the eraser is implemented to remove strokes drawn on the canvas by using color attachment. It might be inefficient when introducing other elements like pictures or primitive shapes. So it is a call to research stencil testing to pass erased vertices to strokes overlayed by eraser stroke.
adam closed this issue 2025-12-29 05:19:04 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Memola#22