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

Explain about the computer based training, Explain about the Computer Based...

Explain about the Computer Based Training CBT makes use of a computer system to train people in numerous applications. It makes use of self-assessment and multimedia with minim

What is computer graphics, What is Computer Graphics. Computer graphic...

What is Computer Graphics. Computer graphics remains most existing and rapidly growing computer fields. Computer graphics may be explained as a pictorial representation or gra

Write a code to generate a composite matrix, Write a code to generate a com...

Write a code to generate a composite matrix for general 3D rotation matrix.  Test your code and rotate continuously a cube about an axis.

Line drawing algorithm, Adavantage and disadvantages of DDA and Bresenhams ...

Adavantage and disadvantages of DDA and Bresenhams line drawing algorithm

Can you give some basic features of computer graphics, Can you give some ba...

Can you give some basic features of computer graphics? The methods of computer graphics are the manipulation and creation of graphics (artificial images) by computer.

Animation and games - cad and cam, Animation and Games - CAD and CAM I...

Animation and Games - CAD and CAM In our childhood, we all have seen that the flip books of cricketers that came free with some soft drink and where some pictures of similar p

Derive the single combined transformation matrix, A 2D geometric shape is r...

A 2D geometric shape is rotated about a point with coordinates (1,2)  by 90°  in a clockwise direction.  Then, the shape is scaled about the same point in the x-coordinate by 2 tim

Points and lines - graphic primitives, Points and Lines - Graphic primitive...

Points and Lines - Graphic primitives In the previous section, we have seen to draw primitive objects; one has to firstly scan convert the objects. This concern to the operat

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