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

Exam, do you remember how you to work the computer graphics

do you remember how you to work the computer graphics

Objects - polygon rendering and ray tracing methods, Objects - polygon rend...

Objects - polygon rendering and ray tracing methods Objects could be any state of material as solid, liquid. Gas and plasma. Though ray tracers can merely assist objects whic

What are the different ways of specifying spline curve, What are the differ...

What are the different ways of specifying spline curve?  Using a set of boundary conditions that are imposed on the spline. Using the state matrix that characteristics

Draw the letters s, Draw the letters S, P, R or U of English alphabet using...

Draw the letters S, P, R or U of English alphabet using multiple Bézier curves.  A complete code for plotting Bezier curves is given previously. There in the code, control point

Pitfalls in computer simulation - computer aided design, Pitfalls in comput...

Pitfalls in computer simulation Though generally avoided in computer simulations, in strict logic the rules governing floating point arithmetic even apply. For illustration, t

Assumption for digital differential analyzer algorithm, Assumption regardin...

Assumption regarding to the Digital Differential Analyzer Algorithm The line generation by DDA is discussed merely for the first Quadrant, whether the line lies in the other q

Resolution, ?What is Computer Resolution?

?What is Computer Resolution?

Light sources - polygon rendering and ray tracing methods, Light Sources - ...

Light Sources - polygon rendering and ray tracing methods Light Sources are key parts in any ray traced scene, since without them; there would be no rays to trace. Light sour

Interlaced gif, Interlaced GIF: The conventional which is non-interlaced G...

Interlaced GIF: The conventional which is non-interlaced GIF graphic downloads one line of pixels at one time from top to bottom and browsers display all lines of the image as it

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