Line drawing - points and lines, Computer Graphics

Line Drawing - Points and lines

Line drawing is accomplished through computing the intermediate point coordinates along the line path between two given end points. Since, screen pixels are referred along with integer values, plotted positions may only around the calculated coordinates that is pixels that are intensified are those such lie very near to the line path if not precisely on the line path that is in the case of absolutely horizontal, vertical or 45° lines merely.

562_Line Drawing - Points and lines.png

 

Figure: Stair case effect

Standard algorithms are accessible to find out which pixels provide the best approximation to the desired line. Screen resolution conversely, is a large factor towards enhancing the approximation. In a high resolution system such adjacent pixels are very closely spaced which the approximated line-pixels lay extremely close to the real line path and thus, the plotted lines appear to be vary smoother; mostly like straight lines drawn upon paper. In a low resolution system, the similar approximation technique causes lines to be shown with a "stair-step appearance" that is not smooth as demonstrated in following figure; the effect is termed as the stair case effect.

Posted Date: 4/3/2013 1:35:12 AM | Location : United States







Related Discussions:- Line drawing - points and lines, Assignment Help, Ask Question on Line drawing - points and lines, Get Answer, Expert's Help, Line drawing - points and lines Discussions

Write discussion on Line drawing - points and lines
Your posts are moderated
Related Questions
Ellipse Generation Algorithm  You know that a circle is symmetric in all the octants, while ellipse is symmetric with respect to four quadrants.  Therefore, to draw an ellipse,

Traditional Animation Techniques - Computer Animation Before the advent of computer animation, each animation was done via hand that involves an enormous amount of work. You

what is vecgen algorithm and bresenham linequestion..


applications of visualization

Example: Exemplify the Bresenham line generation algorithm through digitizing the line along with end points (20, 10) and (30, 18) Solution: m =    (y2 - y1)/( x2 - x1)  =

Midpoint Circle Generation Algorithm   Just as a line drawing algorithm approximates infinite number of points on a line segment by only a finite number of pixels, a circle dra

Distinguish between convex and concave polygons? If the line joining any two points in the polygon lies totally inside the polygon then, they are called as convex polygons. If

what do you mean by high definition systems? Define aspect ratio?  What is a refresh buffer? What is the difference between bitmap and pitman frame buffer? Explain the basic oper

Sound and Audio: Sound is a mechanical energy disturbance which propagates by matter as a wave. Sound is characterized through the various properties that are: frequency, per