WIP: [Feature] Triangle rasterization #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/triangle-rasterization"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Currently that uses Edge-based rasterization:
- Draws the three edges of the triangle
- Collects all edge pixels in a HashMap keyed by Y coordinate
- For each Y, finds gaps between edge pixels and fills them
- Complexity: O(perimeter + filled area)
draw_facesusing new triangle drawing algorithm bdf3cb1b5cView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.