Rotation about z-axis - transformation for 3-d rotation, Computer Graphics

Assignment Help:

Rotation about z-axis - Transformation for 3-d rotation

Rotation about z-axis is explained by the xy-plane. Suppose a 3-D point P(x,y,z) be rotated to P'(x',y',z') along with angle of rotation q see Figure 9. Because both P and P' lies upon xy-plane so z=0 plane their z components keeps similar as z=z'=0.

2469_Rotation about z-axis - Transformation for 3-d rotation.png

Figure a                                                                            Figure b

Thus, P'(x'y',0) be the effect of rotation of point P(x,y,0) making a +ive or anticlockwise angle φ with value of z=0 plane, as demonstration in Figure 10. From figure (10),

P(x,y,0) = P(r.cos φ,r.sin θ,0)

P'(x',y',0)=P[r.cos(φ + θ),rsin(φ + θ),0]

The coordinates of P' are as:

x'=r.cos(θ + φ) = r(cos θ cos φ - sin θ sin φ)

=x.cos θ - y.sin θ      (where x=rcos φ and y=rsin φ)

As the same;

y'= rsin(θ + φ)=r(sin θ cos φ + cos θ.sin φ)

=xsin θ +ycos θ

Hence,

1229_Rotation about z-axis - Transformation for 3-d rotation 1.png


Related Discussions:- Rotation about z-axis - transformation for 3-d rotation

Region filling, what is region filling? give details

what is region filling? give details

Problem with interpolated shading - polygon rendering, Problem with Interpo...

Problem with Interpolated Shading There are several more shading models that intermediate in complication among Gouraud and Phong shading, linking the liner interpolation of t

Constant intensity shading or flat shading, Constant intensity shading OR F...

Constant intensity shading OR Flat shading  In this technique particular intensity is calculated for each polygon surface that is all points that lie upon the surface of the

Boundary fill algorithm - output primitives, Boundary Fill Algorithm Bo...

Boundary Fill Algorithm Boundary fill algorithm is suitable when the boundary has single color while flood fill algorithm is more suitable for filling regions which are defined

Uses for gif and jpeg files, Uses for GIF and JPEG Files: Microsoft I...

Uses for GIF and JPEG Files: Microsoft Internet Explorer, Netscape Navigator and most the other browsers maintain both JPEG and GIF graphics. Theoretically, you could util

Application areas of computer graphics, Explain application areas of comput...

Explain application areas of computer graphics in different areas.    Early computer graphics has only certain special capabilities such as straight lines circles and ellipses

Scan conversion, State the purpose of scan conversion , along with the side...

State the purpose of scan conversion , along with the side effects

Composite transformation, program to prove 2 consecutive rotation & scaling...

program to prove 2 consecutive rotation & scaling are additive in nature

Scan conversion of line with the slope, Scan Conversion of Line with the sl...

Scan Conversion of Line with the slope (0 Currently the pixel positions beside the line path are determined through sampling at Unit x intervals that is, starting from the fi

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