Graphics

Numerical Examples of 2d Geometric Transformation- Translation

Problem Statement:

An object is placed with respect to origin on (2,1). Now move the object away from the origin by 2 steps in x and 3 steps in y. What would be new coordinates to the moved object.

S-1 : The old coordinates of the object are x=2 and y =1. Translation coordinate in x direction (tx) = 2 and Translation coordinate in y direction (ty) =3. Lets call the new coordinates as x’ and y’.  

S-2: Since the translated object is moving away from origin , Hence it is a positive translation and new coordinates could be obtained in simple arithmetic as x’=x+tx and y’=y+ty.

S-3: Computer Graphics only deal with matrix calculations because all the transformation would not be as simple as in translation. Translation transformation of a single element at (x,y) coordinate is displayed as follows.

S-4: Just substitute the values of x, y as (2,1) with tx=2 and ty=1. Multiply all the matrices to get the result. This will give you new coordinates (x’,y’) of point (x,y).

Translation Matrix
Translation Matrix after substituting the values

S-5: After Multiplication we would get the new element x’=2+2 = 4 and y’=1+3=4. The new element is also displayed in last figure.

Object’s New position after Translation
sr_2018

Recent Posts

Entrepreneurship UNIT-2 ENTREPRENEURIAL PLANNING ClassXII

NOTES UNIT-2 ENTREPRENEURIAL PLANNING CLASS-XII SUBJECT- ENTREPRENEURSHIP

3 years ago

Color Generating Techniques- Computer Graphics

There are two ways by which you can see some objects colorful, let's say RED…

4 years ago

MCQs on Moving Charges and Magnetism – Ch-4 Class 12

What is the formula of Lorentz force  q = charge B = Magnetic Fields E…

4 years ago

MCQs on Electrostatic Potential & Capacitance -ch 2 Class 12

MCQs on Electrostatic Potential & Capacitance - Chapter 2 - Class 12 CBSELove to Learn…

4 years ago

MCQs – Electric Charges – Chapter 1

A. Which out of the following are conductors Metal Human Body Animal Bodies Earth All…

4 years ago

MCQs on Solutions – Chapter -2

MCQs with answer explanation on - Solutions Chapter -2 Class 12 Prepared by Experts MCQ…

4 years ago