Translate a square - 2-d and 3-d transformations, Computer Graphics

Example1: Translate a square ABCD along with the coordinates as: A(0,0),B(5,0),C(5,5),D(0,5) via 2 units in x-direction and 3 units in y-direction.

Solution: We can show the square here, in matrix form, by using homogeneous coordinates of vertices as:

1628_Translate a square 1.png

The translation factors are, tx=2, ty=3

 The transformation matrix for translation:

Tv=

2344_Translate a square 2.png

 

So new object point coordinates are:

[A'B'C'D'] = [ABCD].Tv

1270_Translate a square 3.png

Hence, A'(x'1,y'1)=(2,3)

B'(x'2,y'2)=(7,3)

C'(x'3,y'3)=(7,8) and 

D'(x'4,y'4)=(2,8)

Posted Date: 4/3/2013 4:18:37 AM | Location : United States







Related Discussions:- Translate a square - 2-d and 3-d transformations, Assignment Help, Ask Question on Translate a square - 2-d and 3-d transformations, Get Answer, Expert's Help, Translate a square - 2-d and 3-d transformations Discussions

Write discussion on Translate a square - 2-d and 3-d transformations
Your posts are moderated
Related Questions
Cases for Digital Differential Analyzer Algorithm 1)  If in case 1, we plot the line another way round that is, moving in y direction via 1 unit every time and after that hunt

What is scaling?  The scaling transformations changes the shape of an object and can be carried out by multiplying every vertex (x,y) by scaling factor Sx, Sy where Sx is the

Differentiate between z-buffer method and scan-line method. What is the visibility test made in these methods? Solution : In depth buffer algorithm every pixel location on the

Q. Describe briefly phong shading algorithm.   OR                Write short note on phong shading.    Phong shading   Phong shading or normal vector interpo

File format We want an image of a Fly. The wings are incompletely transparent and to present that in our presentation what be problematic if suitable file format is not there.

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

Card or Page Based Tools : In these authoring systems, components are organized as pages of a book or a stack of cards. Thousands of pages or cards may be obtainable in the stack


what do you mean by high definition systems? Define aspect ratio?  What is a refresh buffer? What is the difference between bitmap and pitman frame buffer? Explain the basic oper

What is seed fill?  One way to fill a polygon is to begin from a given point (seed) known to be inside  the polygon and highlight outward from this point i.e. neighboring pixel