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

Q.   What do you mean by image precision and object precision? Describe z- buffer algorithm for visible surface detection. OR What do you mean by image precision and obj

Area-Subdivision method This method is a type of an image-space method although uses object-space operations re-ordering or sorting of surfaces as per to depth. Area sub-div

Phong Specular Reflection Model or Specular Reflection This model of local illumination is frequently termed as the Phong specular reflection model. Here we discuss the matter

Scale a sphere cantered on the point (1, 2, and 3) with radius 1, so that the new sphere has the same centre with radius 2.    Solution: Translate the sphere so that its centre

Define Computer graphics.  Computer graphics remains one of the most popular and rapidly growing computer fields. Computer graphics may be explained as a pictorial representati

Ray Casting -polygon rendering and ray tracing methods It is a method wherein the surfaces of objects visible to the camera are determined by throwing or say casting rays of

Question: (a) Describe the term ‘Multimedia'. (b) Briefly describe two main reasons to use ‘Compression' in Multimedia. (c) All Multimedia development teams could have

Spline curve - Modeling and Rendering Spline curve is created by using Control points that control the shape of the curve Spline curve is a composite curve formed along with s

determine the tranformation matrix for reflection,computer graphics