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

Fill in the blanks, a__________of a scene is apart of a scene by which rela...

a__________of a scene is apart of a scene by which relate one part of the scene with the other parts of the scene

Write a code to continuously rotate square about pivot point, Write a code ...

Write a code to continuously rotate a square about a pivot point.    #include   static GLfloat rotat=0.0;   void init(void); void display(void); void reshape(int w

Transformation for parallel projection, Transformation for parallel project...

Transformation for parallel projection Parallel projections is also termed as Orthographic projection, are projections into one of the coordinate planes as x = 0, y = 0 or z

Why Video Game Characters Look Better Today, what is the control for Why Vi...

what is the control for Why Video Game Characters Look Better Today

Traditional animation techniques , Traditional Animation techniques as: ...

Traditional Animation techniques as: 1) Key Frames                        2) Cel Animation Formula: Required Key frames for a film = {[Time(in seconds)]

Basic transformations - 2-d and 3-d transformations, Basic Transformations ...

Basic Transformations - 2-d and 3-d Transformations Consider the xy-coordinate system upon a plane. An object or Obj in a plane can be identified as a set of points. All objec

Anti- aliasing, Anti- aliasing: Most aliasing artifacts, when appear in a ...

Anti- aliasing: Most aliasing artifacts, when appear in a static image at a moderate resolution, are often tolerable, and in many cases, negligible. However, they can have a signi

Merits -phong shading or normal vector interpolation shading, Merits -Phong...

Merits -Phong shading or Normal Vector Interpolation Shading Hence by finding intensities at various points across the edge we determine the intensity that is varying across t

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