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

Physx, what is physx.?

what is physx.?

What is fixed point scaling, What is fixed point scaling?  The location...

What is fixed point scaling?  The location of a scaled object can be controlled by a position known as the fixed point that is to remain unchanged after the scaling transformat

Zero acceleration (constant speed), Zero Acceleration (Constant Speed ) ...

Zero Acceleration (Constant Speed ) Now, the time spacing for the in-betweens that is: in-between frames is at equal interval; which is if, we want N in-betweens for key frames

Normalization transformation, what is normalization transformation?why is i...

what is normalization transformation?why is it needed and important?give simple example also.

Explanation of light source by a luminance, Explanation of light source by ...

Explanation of light source by a luminance Explanation of any light source by a luminance the factors identified as: Light source explained by a luminance 1)   All color as

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

Structural links, Structural Links: The information contained inside the h...

Structural Links: The information contained inside the hypermedia application is classically organized in several suitable fashions. This organization is represented by using stru

Uniform b - spline curve, Uniform B - spline curve: When the spacing betwe...

Uniform B - spline curve: When the spacing between Knot values is constant, the resulting curve is called a uniform B- spline. Blending function for B- spline curves are defined b

Gui for plotting functions, For this assignment you will write a GUI for pl...

For this assignment you will write a GUI for plotting functions. The user will supply the de?nition of a function in the variable x, the range of x and y values to be plotted and t

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