Skip to main content
gamedev.net
🔒 Locked

Full line drawing algorithm

Started by zedrummer 1 reply 1.1k views
Original Post
zedrummer
zedrummer
Hello, I am looking for an algorithm to draw line but display all the pixels covered by the line. For example, the algorithm of Bresenham draw something like that: http://img513.imageshack.us/img513/5642/bresenhamin9.png and I want all the pixels like that (the one missing in the bresenham's are dark grey): http://img241.imageshack.us/img241/5207/fullhalflinexh3.png Anyone knows of such an algorithm? Thanks Cathy
zedrummer
zedrummer
Wow exactly what I wanted!
Merci beaucoup ;)
Cathy

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.