Line drawing - points and lines, Computer Graphics

Assignment Help:

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.


Related Discussions:- Line drawing - points and lines

Horizontal retrace - hardware primitives, Horizontal Retrace - Hardware Pri...

Horizontal Retrace - Hardware Primitives Horizontal retrace refers to the time an electron beam takes to traverse a scan line.Vertical retrace means the time taken by the elect

#BLA, #BLA for slope greater and equal to 1

#BLA for slope greater and equal to 1

Types of graphic images, Types of Graphic Images: Graphic images have...

Types of Graphic Images: Graphic images have been processed through a computer can generally be divided in two distinct categories. That image is either bitmap files or vecto

2-d viewing and clipping - raster graphics and clipping, 2-D Viewing and C...

2-D Viewing and Clipping - Raster Graphics and  Clipping In the previous two units of this block, we illustrated the basic elements of computer graphics, that is, the hardware

Advantages of jpeg images, Advantages of JPEG Images Huge compressi...

Advantages of JPEG Images Huge compression ratios mean sooner download speeds. JPEG produces outstanding results for main photographs and complicated images. JPEG s

Silicon graphics - hardware for computer animation, Silicon Graphics - Hard...

Silicon Graphics - Hardware for computer animation The SGI platform is one of the most broadly used hardware platforms in professional or broadcast feature computer animation

Why are all resolutions in ratio of 4:3, Q. Why are all resolutions in rati...

Q. Why are all resolutions in ratio of 4:3? The bad news is that almost every monitor can only display upto a maximum of 262,144 colours (i.e.  18 bits/pixel Colour Depth). The

Traditional animation techniques - computer animation, Traditional Animatio...

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

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd