3 ms·
Every single description I've seen of bresenham uses integer co-ordinates, which is not enough in modern pipelines that all use subpixel resolutions. The modif
by beagle3 9y ago
Every single description I've seen of bresenham uses integer co-ordinates, which is not enough in modern pipelines that all use subpixel resolutions.
The modifications required to make it work properly for subpixels are not hard; the question is still what axis the next step is; but I've never seen them described in an article.
- rwbt 9y agoIf it works with integers, it'll likely also work with 'Fixed-point' co-ordinates. A Fixed Point version is fairly trivial if you know how the integer algorithm works.