https://github.com/restylianos/wu-s-aa
implementation of Wu's antialiasing algorithm
https://github.com/restylianos/wu-s-aa
antialiasing c opengl
Last synced: 2 months ago
JSON representation
implementation of Wu's antialiasing algorithm
- Host: GitHub
- URL: https://github.com/restylianos/wu-s-aa
- Owner: restylianos
- Created: 2021-04-26T23:29:37.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-13T10:24:49.000Z (about 5 years ago)
- Last Synced: 2025-09-11T04:35:35.434Z (11 months ago)
- Topics: antialiasing, c, opengl
- Language: C
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Implementation of Wu's antialiasing algorithm
Minimal implementation of Wu's antialiasing algorithm with a linear line as an example. OpenGL
library is utilised as the graphics framework.
## Install OpenGl
**Linux** -- Debian-like
```
$ sudo apt-get update
$ sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
```
**Other**
```
Don't use other OS's :)
```
## Compile and Run
**Compile**
``
gcc ./main.c -lglut -lGLU -lGL -o
``
**Run**
``
./
``
### Resources
* [`GeeksForGeeks`](https://www.geeksforgeeks.org/anti-aliased-line-xiaolin-wus-algorithm/)
* [`UnionAssets`](https://unionassets.com/blog/algorithm-brezenhema-and-wu-s-line-299)