13. Advantages
Faster than direct use of the line equation.
( without any floating pt multiplication).
Simplest Algorithm, doesn’t require special
skills for implementation.
Thursday, November 22, 2012 COMPUTER GRAPHICS 13
15. 3.BRESENHAM’S LINE ALGORITHM
DDA Algo Drawback: Very time consuming-
rounding off operation and floating pt arithmetic.
Basic Principle:
Find optimum raster locations to represent straight
lines.
Increment either x or y by one unit depending on the
slope of line.
Then increment in other variable is found on basis of
distance between actual line location and nearest pixel-
decision variable or error term.
Thursday, November 22, 2012 COMPUTER GRAPHICS 15