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
Polygon Surfaces - Curves and Surfaces   By Figure 1 and Figure 2 it is clear that it is possible to store description of objects as a set of surface polygons and similar i

Surface of Revolution - Modeling and Rendering In the previsions sections we have learned different type of techniques of generating curves, although if we wish to generate a

Illumination Model - Polygon rendering and ray tracing methods Theoretically illumination is exposure of a thing to the light that contributes to light reflected by an object

Polygon Clipping - Raster Graphics and Clipping After considerate the idea of line clipping and its algorithms, we can currently extend the idea of line clipping to polygon cl

Question 1: (a) Describe the term Mask Path and give brief steps how you could change a rectangle into a triangle with respect to time in AE CS3. (b) Expressions are ve

The RIA should consist of: i) A simple Graphical User Interface (GUI) constructed from a simple navigation system (comprising of around 5 key frames) making use of the Flash tim

The purpose of this assignment is for you to create an animation like you would see on an electronic greeting card. Have fun and be creative.  Here are the requirements: you

Trivial acceptance case of cohen sutherland line clippings Case 1: it is Trivial acceptance case whether the UDLR bit codes of the end points P, Q of a provided line is 0000

Frame animation non- interactive animation rectangular shape (Cartoon movies) It is an "internal" animation method, which is, it is animation within a rectangular frame. This i

Scan Conversion of Line with the slope (0 Currently the pixel positions beside the line path are determined through sampling at Unit x intervals that is, starting from the fi