flutter / flutter/flutter

Implement anti-aliased DrawPath for MetalSDF

Open
#185,117 5 comments 0 reactions 0 assignees View on GitHub
e: impeller P2 team-engine triaged-engine
Dominant language
Dart
Stars
179k
Forks
31.1k
PR merge metrics
PR metrics pending

Description

We should have a design doc that outlines how we are going to implement DrawPath with anti-aliasing. Some ideas are:
1) using Inigo Quilez's SDF algorithms for paths -- It might get complicated when combing bezier with straight lines.
1) using @flar's approach of inflating meshes and burning in the alpha as vertex attribs

attn: @walley892

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start with the issue discussion and compare the proposed Inigo Quilez SDF and mesh-inflation approaches for anti-aliased DrawPath in MetalSDF; done means a design document that explains the chosen approach and how it handles Bézier curves and straight lines.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.