3 ms·
"here is a routine for drawing vectors using Bresenham’s algorithm." https://en.wikipedia.org/wiki/Bresenham's_line_algorithm https://en.wikipedia.org/wiki/Bre
by mistrial9 8y ago
"here is a routine for drawing vectors using
Bresenham’s algorithm."
https://en.wikipedia.org/wiki/Bresenham's_line_algorithm https://en.wikipedia.org/wiki/Bresenham's_line_algorithm
- kazinator 8y ago> It is possible to use this technique to calculate the U,V co-ordinates during raster scan of texture mapped polygons {citation-needed} Way back as an undergrad student, I suspected this, after successfuly implementing the rendering of hyperbolic (y = A/x) curves with Bresenham. It hit me; that /x could be the perspective divide by z; that vertical coordinate could be marching through texture space. Never tried it, though.