diff options
author | rodri <rgl@antares-labs.eu> | 2024-02-07 12:19:23 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-02-07 12:19:23 +0000 |
commit | dc21c6d3ee44b7e088dc305e2ab685a433b42a75 (patch) | |
tree | 443d5589df3919e3652b755d22edf5775c59f1fb /clip.c | |
parent | 6c7fd839f6ea6326bae354a27a2ba3c592444856 (diff) | |
download | libgraphics-dc21c6d3ee44b7e088dc305e2ab685a433b42a75.tar.gz libgraphics-dc21c6d3ee44b7e088dc305e2ab685a433b42a75.tar.bz2 libgraphics-dc21c6d3ee44b7e088dc305e2ab685a433b42a75.zip |
implement perspective-correct attribute interpolation.
also committing unfinished code for the clipping algorithm.
references:
- Kok-Lim Low, “Perspective-Correct Interpolation”, 2002
- https://www.scratchapixel.com/lessons/3d-basic-rendering/rasterization-practical-implementation/perspective-correct-interpolation-vertex-attributes.html
- https://www.rose-hulman.edu/class/csse/csse351-abet/m10/triangle_fill.pdf, p. 23
Diffstat (limited to 'clip.c')
0 files changed, 0 insertions, 0 deletions