Composite Transformation in Computer Graphics

Composite transformation in Computer Graphics

It is possible to integrate a range of transformations or series of transformations into some kind of a single one which is known as composition. The combined matrix is known as the resultant matrix. The merger procedure is termed as concatenation.

Assume that we want to execute rotation around an arbitrary point, and we'll do it through a series of following three transformations.

  • Translation
  • Rotation
  • Reverse Translation

The arranging pattern of these transformation numbers should not be modified. If a matrix is expressed in a column’s format, the composite transformation is carried out, by multiplying the sequence of the matrix from the right-hand side to the left-hand side. The output of the former matrix is multiplied by the new matrix that will come.

Instances of Composite Transformation

The enhancement has to do with the center. The following series of transformations will also be carried out and all will be integrated into a single one.

Phase 1: As shown in the image (1), the entity is preserved in its location

Composite transformation in Computer Graphics

Phase 2: The entity is transformed so that, as displayed in the image (2), its center correlates with the origin.

Composite transformation in Computer Graphics

Phase 3: The scaling of an entity is accomplished in Image (3) by holding the entity at its source.

Composite transformation in Computer Graphics

Phase 4: The translation is completed once again. The next translation is known as a reverse translation. It will place the entity at the location of its center point.

Composite transformation in Computer Graphics

The above­-given transformation can be defined as Tv.STv-1.

Important Point:

For expressing matrices, two kinds of rotations are used: one will be the column form. The Row Method will be another form.

Here we will discuss both formats one by one.

  • Column Format

The matrix of the column method is-

  1. Translation

           1    0     Tx

           0    1     Ty                     

           0    0     1

  • Scaling

           1    0     Sx

           0    1     Sy                     

           0    0     1

  • Row Format

The matrix of the row method is-

  1. Translation

           1     0      0

           0     1      0                     

           Tx   Tx    1

  • Scaling

           1      0      0

           0      1      0                     

           Sx     Sy    1

Benefits of Combined or Concatenated matrix

  • The adjustments are lightweight.
  • It will decrease operations.
  • In contrast to the matrix, the principles used for describing transformation in the form of equations are complicated.

Assembling of two translations

Let the translation equations be T1 T2 T3 T4. These are the two Q1 and Q2 translations. The following matrix of Q1 and Q2 is given. Using homogeneous matrices, Q1 and Q2 are described, and Q will be the last transformation matrix received after multiplication.

            1     0      T1                                                                 1     0      T3  

Q1 =     0     1      T2                            Q2 =         0     1      T4                    

            0     0      1                                               0     0      1   

                                                 1      0      T1 + T2

   Q =      0      1      T3 + T4                     

                                                 0      0          1

The resulting matrix mentioned above demonstrates that two consecutive translations are complementary.

Two Rotation concentration: Two Rotations are both additives.  

Composition of two scaling

There is a multiplicative combination of 2 scaling. Let the whole matrix be multiplied by R11 and R12.

             R1      0      0                          S3      0      0 

 R11 =    0       R2     0            R12 =     0       S4     1

              0       1      0                           0       0      1

R = R11 ­* R12 = R11 (R1.R2). R12 (R3. R4) = R (R1. R2. R3. R4)       


Related Topics

Projection in Computer Graphics

Projection Introduction: The technique projection was invented by the Swiss mathematician, engineer, and astronomer "Leonhard Euler Around" in 1756. The "Episcope" was the first projection system. “Projection is a technique or process which...

4 minutes read.

Panning

“Panning is a process or photographic technique that is used to combine slow shutter speed with camera movement to make a speed sense around the moving object.” We can define panning as...

2 minutes read.

3D Shearing

We can denote shearing with ‘SHx,’ ‘SHy,’ and ‘SHz.’ These ‘SHx,’ ‘SHy,’ ‘SHz’ are called “Shearing factor.” The basic difference between 2D and 3D Shearing is that the 3D plane also...

1 minute read.

Pointing and Positioning Technique Computer Graphics

Pointing and Positioning Technique: The pointing and positioning are interactions used in computer graphics. A pointing device is also called a Pointing tool. A pointing tool is a hardware component,...

4 minutes read.

Computer Graphics Tutorial

Introduction to Computer Graphics Computer graphics is commonly seen as a computer science branch that deals with the computerized image fusion theory and technology. As simple as a triangle outline, a...

6 minutes read.

Display Devices in Computer Graphics

The display device is an output device used to represent the information in the form of images (visual form). Display systems are mostly called a video monitor or Video display unit (VDU). Display devices are designed to model, display, view, or display information. The...

6 minutes read.

3d Scaling

The 2D and 3D scaling are similar, but the key difference is that the 3D plane also includes the z-axis along with the x and y-axis. In scaling, we can expend...

2 minutes read.

Computer Graphics Window

“The process of selecting and viewing an image with different views, called windowing.” All the objects in the real world have a size. We can measure the size and location of...

4 minutes read.

Bresenham’s Circle Drawing Algorithm in Computer Graphics

Bresenham’s algorithm is also used for circle drawing. It is known as Bresenham’s circle drawing algorithm. It helps us to draw a circle. The circle generation is more complicated than...

11 minutes read.

Output Devices in Computer Graphics

Computer Graphics Output Devices An output device is a component of hardware or the main physical part of a computer that can be touched and seen. An output device is an electromechanical device. “The...

5 minutes read.

Scan Conversion of an Ellipse Computer Graphics

Scan Conversion of an Ellipse: An ellipse can be defined as a closed plane curve, which is a collection of points. It is the cause of the intersection of a...

8 minutes read.

2D Translation

We can move any object from one to another place without changing the shape of the object. For Example- Translation of a Point:If we want to translate a point from P (x0,...

1 minute read.

Display Processor

It is a part of hardware or interpreter which is used to transform display processor code into pictures. It is used to convert digital information from CPU to analog data. It...

4 minutes read.

Point Clipping

“Point clipping is a process which is used to define the point position.” The point is either inside the view pane (window) or outside the view pane. In computer graphics, the computer...

2 minutes read.

3D Rotation

The 3D rotation is different from 2D rotation. In 3D Rotation we also have to define the angle of Rotation with the axis of Rotation. For Example- Let us assume, The initial...

2 minutes read.

2D Transformation in Computer Graphics

Some visuals are transformed into some other graphics by implementing several of the principles known as transformation. There are multiple kinds of transformation, including translation, scaling, rotation, shearing, etc. Whenever...

2 minutes read.

Homogenous Coordinates in Computer Graphics

Homogenous Coordinates in Computer Graphics The orbit of a point, a line graph or the whole picture on the computer, a point besides the origin, is accomplished by first shifting the...

7 minutes read.

Midpoint Circle Drawing Algorithm in Computer Graphics

The midpoint circle drawing algorithm helps us to calculate the complete perimeter points of a circle for the first octant. We can quickly find and calculate the points of other...

12 minutes read.

Animation in Computer Graphics

The word Animation is extracted from a Latin language, "Anima," which means "Soul." TheAnimation is a technology that allows any image object, an entity to walk, talk, or do some...

3 minutes read.

Text Clipping

“Text Clipping is a process in which we remove those part (portion) of string that is outside the view pane (window).” Various methods and techniques can do the text clipping. These techniques depend...

2 minutes read.