Points and lines - graphic primitives, Computer Graphics

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.

Posted Date: 4/3/2013 1:32:19 AM | Location : United States







Related Discussions:- Points and lines - graphic primitives, Assignment Help, Ask Question on Points and lines - graphic primitives, Get Answer, Expert's Help, Points and lines - graphic primitives Discussions

Write discussion on Points and lines - graphic primitives
Your posts are moderated
Related Questions
Magnify a triangle with vertices A = (1,1), B = (3,1) and C = (2,2) to twice its size in such a way that A remains in its original position.  Answer: You need to apply scaling b

what is mean by scan code

1. Design a bitmap for the English vowels A, E, I, O, U for two different sizes and then implement the bitmaps to plot these vowels on the display. Keep in mind that baseline of al

Uncompressed / Common Audio Format There is one main uncompressed audio format: PCM. It is generally stored like a .wav on Windows. WAV is file format which is flexible and des

what is ray tracing algorithm in hidden surface removal

Basic Approaches for Visible Surface Determination There are two basic approaches for visible-surface determination, as per if they deal along with their projected images or a


Problem: (a) What is meant by ‘Time - Stretching ‘in relation to a sound data file? (b) Calculate the size of a 5 minutes mono sound file of CD quality and with a 16 -bit

Interactive Computer Animation Interactive Computer Animation that is interactively utilized by users for example: games. Sprite animation is interactive and utilized broadly

Types of Polygon tables curves and surfaces Attribute tables: This table has object information as transparency, surface reflexivity, texture features of an object in the vi