3

3D Translation in Computer Graphics

 2 years ago
source link: https://www.geeksforgeeks.org/videos/3d-translation-in-computer-graphics/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

3D Translation in Computer Graphics

3D Translation in Computer Graphics
  • 30 Views
  • 18/07/2022

Transformation is a way of modifying and changing the position of an existing object in computer graphics. 3D transformation manipulates the view of 3D object based on its original position by simply modifying the physical attributes of that object by using various methods of transformation like translation, rotation, scaling, shear, etc.

Types of transformations in computer graphics are:
1) Translation
2) Scaling
3) Rotation
4) Shearing
5) Reflection

Translation is used to change the relative position of a 3-D object with respect to the original position by simply changing its coordinates. It is similar to 2D translation, it moves the object, on different positions on the screen.

Consider a point P that moves from one position to another in a 3D plane.
Initial coordinates P = (X0, Y0, Z0)
New coordinates P’ after translation = (X1, Y1, Z1)
The Shift or translation vector = (Tx, Ty, Tz)

By adding the translation coordinates to initial coordinates we get the new coordinates:
Translation on X-axis: X1 = X0 + Tx
Translation on Y-axis: Y1 = Y0 + Ty
Translation on Z-axis: Z1 = Z0 + Tz

3D Translation in Computer Graphics:
https://www.geeksforgeeks.org/computer-graphics-3d-translation-transformation/


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK