Rotation about the origin - 2-d and 3-d transformations, Computer Graphics

Assignment Help:

Rotation about the origin - 2-d and 3-d transformations

Specified a 2-D point P(x,y), which we need to rotate, along with respect to the origin O. The vector OP has a length 'r' and making a +ive or anticlockwise angle φ with respect to x-axis.

 Suppose P' (x'y') be the outcome of rotation of point P by an angle θ regarding the origin that is demonstrated in Figure 3.

1337_Rotation about the origin - 2-d and 3-d transformations.png

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

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

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 like;

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

=xsinθ+ycosθ

Hence,

1628_Rotation about the origin - 2-d and 3-d transformations 1.png

Hence, we have acquired the new coordinate of point P after the rotation. Within matrix form, the transformation relation among P' and P is specified by:

346_Rotation about the origin - 2-d and 3-d transformations 2.png

There is P'=P.Rq                                               ---------(5)

Here P'and P represents object points in 2-Dimentional Euclidean system and Rq is transformation matrix for anti-clockwise Rotation.

In terms of Homogeneous Coordinates system, equation (5) becomes as

2409_Rotation about the origin - 2-d and 3-d transformations 3.png

There is P'h=Ph.Rq,                                                     ---------(7)

Here P'h and Ph   represent object points, after and before needed transformation, in Homogeneous Coordinates and Rq is termed as homogeneous transformation matrix for anticlockwise  or =ive Rotation. Hence, P'h, the new coordinates of a transformed object, can be determined by multiplying previous object coordinate matrix, Ph, along with the transformation matrix for Rotation Rq.

Keep in mind that for clockwise rotation we have to put q = -q, hence the rotation matrix Rq , in Homogeneous Coordinates system, becomes:

1007_Rotation about the origin - 2-d and 3-d transformations 4.png


Related Discussions:- Rotation about the origin - 2-d and 3-d transformations

Compression methods utilized for digital video, Compression methods utilize...

Compression methods utilized for digital video can be categorized in three major groups: General reason compression techniques can be utilized for any type of data. Intr

Devi, Explain the 3d transformations

Explain the 3d transformations

Plane equation - spatial orientation of the surface element, Plane equation...

Plane equation - spatial orientation of the Surface Element For some of Plane equation procedures, we have information regarding the spatial orientation of the individual surf

Functioning of hardcopy devices and output primitives, Functioning of hardc...

Functioning of hardcopy devices and Output primitives 1.  Functioning of hardcopy devices-laser printers and dot matrix printers, plotters.  2.  Output primitives: Graphics

Crt, explain the working procedure of crt digram

explain the working procedure of crt digram

Polygonalization of the surface, Remember in polygonalization of the surfac...

Remember in polygonalization of the surface, following rules must be followed. Any two polygons  (i)  share a common edge,   (ii)  Share a common vertext,  (iii)  Arc disj

Illustration, mcqs of illustration in nts test

mcqs of illustration in nts test

Multimedia, Multimedia- It is a new aspect of literacy which is being recog...

Multimedia- It is a new aspect of literacy which is being recognized as technology expands the manner people communicate. The principle of literacy increasingly, is a measure of th

Image capture formats, Image Capture Formats: Video cameras appear in...

Image Capture Formats: Video cameras appear in two various image capture formats: progressive and interlaced scan. Interlaced Scan It is a technique of enhancing the

Video conferencing and virtual reality, Video Conferencing and Virtual Real...

Video Conferencing and Virtual Reality Virtual reality is a truly fascinating multimedia application. In such, the computer creates an artificial environment using hardware an

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