Points and lines - graphic primitives, Computer Graphics

Assignment Help:

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 operation of determining the location of pixels to be intensified and then sets the values of consequent bits to the desired intensity level. All pixels on the display surface have a fixed size depending upon the screen resolution and thus, a pixel cannot characterize a single mathematical point. Conversely, we consider all pixels as a unit square area known through the coordinate of its lower left corner and the cause of the reference match system being located at the integer coordinate pair (x, y). The x values start at the origin and rise from left to right along a scan line and the y values that is the scan line numbers begin at bottom and raise upwards.

459_Points and Lines - Graphic primitives.png

                                                                             Figure: Scan lines

This demonstrates the Array of square pixels upon the display surface. Coordinate of pixel A: 0, 0; B: 2, 2; C: 6, 7. A coordinate position (6.26, 7.25) is characterized via C, while (2.3, 2.5) is demonstrated via B. As in order to plot a pixel on the screen we required to round off the coordinates to a nearest integer. Moreover, we require saying that, this is this rounding off, that leads to distortion of any graphic pattern.


Related Discussions:- Points and lines - graphic primitives

Benefits of computer simulation - computer aided design, Benefits of Comput...

Benefits of Computer Simulation The benefit of Simulation is: even for simply solvable linear systems: a uniform model execution technique can be utilized to resolve a large v

Do we have need of to generate full circumference of circle, 1.   Do we hav...

1.   Do we have need of to generate the full circumference of the circle utilizing the algorithm or  can we can produces it in a quadrant or octant only and after that utilization

Dv encoder types, DV Encoder Types: While DV is captured in a computer thi...

DV Encoder Types: While DV is captured in a computer this is stored in an AVI file, that is Microsoft's standard file format used for video files. Video support in Windows is prov

Problems at shared vertices - modeling and rendering, Problems at Shared Ve...

Problems at Shared Vertices - Modeling and Rendering Shading discontinuities can arise while two adjacent polygons fail to share a vertex which lies along their common edge.

Reflection, Determine the transformation matrix for the reflection, Compute...

Determine the transformation matrix for the reflection, Computer Graphics

Painting and drawing tools in multimedia, Painting and Drawing Tools Pa...

Painting and Drawing Tools Painting software is offered to producing crafted bitmapped images. Drawing software as Corel Draw and Canvas is offered to generating vector depend

Convert the rgb values for the colours, In computers, colours are created b...

In computers, colours are created by blending different combinations of red, green and blue. These colours are normally specified as three two-digit hexadecimal numbers in html, ph

Test for checking disjoint polygons by using of min-max test, Test For chec...

Test For checking Disjoint Polygons by using of Min-max Test Test 1: For checking disjoint polygons by using of Min-max test. Assume that you have two polygons as P1 and

Softwares and hardwares for computer animation, Softwares and Hardwares for...

Softwares and Hardwares for Computer Animation The categories of both software as well as hardware needed to work on animation are now to be discussed. Computer animation can b

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