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

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

Posted Date: 4/3/2013 6:06:35 AM | Location : United States







Related Discussions:- Rotation about z-axis - transformation for 3-d rotation, Assignment Help, Ask Question on Rotation about z-axis - transformation for 3-d rotation, Get Answer, Expert's Help, Rotation about z-axis - transformation for 3-d rotation Discussions

Write discussion on Rotation about z-axis - transformation for 3-d rotation
Your posts are moderated
Related Questions
Write a C-code which generates a font interactively.This means after every n mouse clicks, a Bezier curve is generated and then the terminal point of the last drawn Bezier curve is

Approaches to Area Filling  Some other approaches to area filling are   Scan line polygon fill algorithm Boundary fill algorithm Flood fill algorithm.

difference between vecgen algoritham and bresenham''s algori


Subdivision of polygon Test to find out the visibility of a single surface are made through comparing surfaces that as polygons P along regarding a specified screen area A.

short note on shading

Rigid body or Non-Rigid body Transformations 2D transformations can be classified as rigid body or non-rigid body transformations. Rigid body transformations keep the shape and

What is meant by Addressability? Ans. Addressability is the number of individual dots per inch (d.p.i.) that can be formed. If the address of the current dot is (x, y) then the

Explain the working of Animators Animators want to create a human image that moves and interacts with its background in such a way that viewers can't tell if a specific scene i