Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

2D-rasterizer

Basic triangle software rasterizer with texture mapping

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

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