dpethes / 2D-rasterizer

Basic triangle software rasterizer with texture mapping

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2D-rasterizer

Basic 2D triangle software rasterizer with texture mapping. Uses the half-space approach to find covered pixels. Features:

  • texture mapping with nearest-neighbor or bilinear filtering
  • subpixel precision
  • resolution up to 2048x2048

References

Compilation

Use recent Freepascal (2.6.0 and higher) to compile, older versions will likely work as well, but are untested.

TODO

documentation, demo

About

Basic triangle software rasterizer with texture mapping


Languages

Language:Pascal 100.0%