Find the normalization transformation, Computer Graphics

Assignment Help:

Illustration: Find the normalization transformation N that uses the rectangle W (1, 1), X (5, 3), Y (4, 5) and Z (0, 3) as a window and also the normalized device screen like the viewport.

2190_Find the normalization transformation 1.png

Figure: Example Transformations

Currently, we observe that the window edges are not parallel to the coordinate axes. Consequently we will first rotate the window regarding W hence it is aligned along with the axes.

Now, tan α= (3 -1)/(5-1) = 1/2

⇒ Sin α =    1 /√5;   Cos α = 2/√5

Now, we are rotating the rectangle in clockwise direction. Consequently α is negative which is, - α.

The rotation matrix about W (1, 1):

550_Find the normalization transformation 2.png

[TR.θ]W =

945_Find the normalization transformation 3.png

The x extent of the rotated window is the length of WX:

√(42 + 22) = 2√5

As same, the y extent is length of WZ that is,

√ (12 + 22) =   √5

For scaling the rotated window to the normalized viewport we calculate sx and sy as,

 sx = (viewport x extent)/(window x extent)= 1/2√5

sy = (viewport y  extent)/(window y extent) =   1/√5

925_Find the normalization transformation 4.png

As in expression (1), the common form of transformation matrix showing mapping of a window to a viewport:

[T] =

Within this problem [T] may be termed as N as this is a case of normalization transformation with,

xwmin = 1                        xvmin = 0

ywmin = 1                        yvmin = 0

 sx = 1/2√5      

 sy =  1/√5

Via substituting the above values in [T] which is N:

N =

1677_Find the normalization transformation 5.png

Here, we compose the rotation and transformation N to determine the needed viewing transformation NR.

 NR = N [TR.θ]W =

2096_Find the normalization transformation 6.png


Related Discussions:- Find the normalization transformation

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

What will be the resulting rotation matrix, An object has to be rotated abo...

An object has to be rotated about an axis passing through the points (1,0 ,1), (1,3,1) .  What will be the resulting rotation matrix?    Solution: The axis is parallel to y axis

Simulating accelerations - computer animation, Simulating Accelerations - C...

Simulating Accelerations - Computer Animation In previous block, we have seen the dominance and function of mathematics in computer graphics and now, we will undertake the invo

Dda or digital differential analyzer algorithm, DDA or Digital Differential...

DDA or Digital Differential Analyzer Algorithm - Line generation algorithms From the above discussion we get that a Line drawing is accomplished through calculating intermedi

Construction of a solid with a translational sweep, Construction of a Solid...

Construction of a Solid with a Translational Sweep Figure demonstrates construction of a solid along with a translational sweep. Translating the control points of the periodic

Tones and tints, Q. What is the difference between tones and tints? Which o...

Q. What is the difference between tones and tints? Which one component of YIQ color model does black- and- white television use? How can you convert a ZTSC video signal to an RGB s

Important points about the curve segment, Important Points about the Curve ...

Important Points about the Curve segment - properties of bezier curves Note : if P (u) → = Bezier curve of sequence n and Q (u) → Bezier curve of sequence m. After that Co

Implement the scan line polygon fill algorithm, Implement the Scan line pol...

Implement the Scan line polygon fill algorithm for any arbitrary polygon in C-language and then use your code to fill each of the following type of polygon. i)  Convex polygon

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