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

Geometric continuity - clipping and 3d primitives, Geometric Continuity ...

Geometric Continuity There is another notion of continuity called geometric continuity. Although the idea existed in differential geometry, the concept was introduced for geome

Why are the bitmap images unsuitable, Question: (a) (i) Give four re...

Question: (a) (i) Give four reasons to explain why are the bitmap images unsuitable for use in a high end print production workflow. (ii) An eps file has two main parts,

Crt, crt is an analog or digital device

crt is an analog or digital device

3D transformation, what are the steps involved in 3D transformation

what are the steps involved in 3D transformation

Cohen sutherland algorithm - 2d clipping algorithms, Cohen Sutherland algor...

Cohen Sutherland algorithm Point clipping is very simple.  All you need to check is whether a point is inside the window extremes in x- and y-directions.  For line clipping sev

Briefly explain the importance of an adjustment layer, Question : (a) W...

Question : (a) What do you meant by "solo a layer " in Adobe After Effects. Explain briefly how would you perform it. (b) Briefly explain the importance of an adjustment lay

Differentiate between z-buffer method and scan-line method, Differentiate b...

Differentiate between z-buffer method and scan-line method. What is the visibility test made in these methods? Solution : In depth buffer algorithm every pixel location on the

Cel animation - computer animation, Cel Animation - Computer Animation ...

Cel Animation - Computer Animation Making an animation by using this method, all characters are drawn on a separate piece of transparent paper. Also a background is drawn on a

Write a c code for generating concentric circles, Write a C code for genera...

Write a C code for generating concentric circles.  Put the circle function circleMidpoint()in a for loop  as follows: for( int radius = MinRadius; radius circleMidpoint(i

Categories of line segments - 2d clipping algorithms, Categories of Line Se...

Categories of Line Segments It categorizes line segments into three categories (i) trivially rejected (ii) trivially selected (iii) may be partially visible or totally invisibl

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