Add a non-AA mode
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.3k
- Forks
- 300
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
Currently `AaConfig` have three different modes for how to calculate AA, but I'm missing one which is perhaps the simplest: Don't do any anti-aliasing.
My need for this is in creating an ID-buffer to power a hitmap. Each object is rendered to the buffer with a color corresponding to the id and a look-up allows you very fast information on what you are hovering over.
The issue is that AA "makes up" ids along the edges of the rendering and thus it needs to be turned off
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating AaConfig and the existing anti-aliasing mode handling, then trace how those modes affect rendering. Add a selectable mode that performs no anti-aliasing, and verify that ID-buffer rendering preserves exact object colors at edges for hitmap lookup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 67/100