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

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

General perspective transformation, General Perspective transformation w.r....

General Perspective transformation w.r.t. an arbitrary center of projection Suppose here that the COP is at C(a,b,c), as demonstrated in Figure. By Figure, the vectors CP

Convert the rgb values for the colours, In computers, colours are created b...

In computers, colours are created by blending different combinations of red, green and blue. These colours are normally specified as three two-digit hexadecimal numbers in html, ph

What is a spline, What is a spline?  To produce a smooth curve by a des...

What is a spline?  To produce a smooth curve by a designed set of points, a flexible strip called spline is used. Like spline curve can be mathematically explained with a piece

Udp datagram communication and tcp stream communication, Question: a) D...

Question: a) Datagram packet delivery and Virtual circuit packet delivery are two approaches to the delivery of packets by the network layer. Explain. b) What is the meaning

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

Problems at shared vertices - modeling and rendering, Problems at Shared Ve...

Problems at Shared Vertices - Modeling and Rendering Shading discontinuities can arise while two adjacent polygons fail to share a vertex which lies along their common edge.

Analog sound vs. digital sound, Analog Sound vs. Digital Sound Sound e...

Analog Sound vs. Digital Sound Sound engineers have been debating the respective merits of digital and analog sound reproduction ever if the form of digital sound recordings.

Application in image capture formats, Application Interlacing is utiliz...

Application Interlacing is utilized through all the analogue TV broadcast systems in recent use as: NTSC: 59.94 fields per second, 525 lines, still field drawn first

Define the term -monitoring, Define the term -Monitoring Chemical and n...

Define the term -Monitoring Chemical and nuclear plants (monitoring key parameters), hospitals (monitoring patient's vital signs), burglar alarms (monitoring for intruders) etc

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