The attached image shows the problem I described in povray.general. As you see, the Bresenham's algorithm (on the left) goes through some pixels that the ray doesn't (and vice versa). The right half of the image shows how it should go.
Post a reply to this message
Attachments: Download 'line_drawing.jpg' (34 KB)
Preview of image 'line_drawing.jpg'