linebender / linebender/vello

Vello anti-aliasing rendering seems not fine enough, how to improve it?

Open
#592 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
4.3k
Forks
300
Avg merge
2d 13h
Merged PRs (30d)
61

Description

Please click on each of the following three screenshots to see that compared to Chrome and Femtovg, the Vello rendering results have obvious small jagged edges on the beard.

![image](https://github.com/linebender/vello/assets/1171428/14f55f15-ead2-4390-b4dc-ed42ca377557)

![image](https://github.com/linebender/vello/assets/1171428/83896e37-0b97-48dc-9325-2628135c65e5)

![image](https://github.com/linebender/vello/assets/1171428/b19d4e46-d6aa-46cc-9ea9-89fbdb7c749c)

PS: Femtovg rendering results also had small jagged, similar to Vello, but after changing the `dpi_factor` to 1.0, it seems to be not inferior to Chrome.

https://github.com/femtovg/femtovg/blob/4e40a61f824a8ea1bd361b4d227a2187e912124a/examples/svg.rs#L145

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the three screenshot comparisons and checking the linked Femtovg example at examples/svg.rs around line 145, including its dpi_factor setting. Compare Vello's beard edges with Chrome and Femtovg; done means identifying a concrete anti-aliasing improvement and showing visibly smoother results, ideally with a repeatable test or comparison.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.