0% found this document useful (0 votes)
30 views6 pages

3d Transformation

The document discusses various 3D geometric transformations including translation, scaling, and rotation of 3D objects. It describes how to translate a point by adding offsets to the x, y, and z coordinates. Uniform and relative scaling are covered along with scaling about a fixed point. Coordinate-axes rotations for the x, y, and z axes are shown along with equations for general 3D rotations about arbitrary axes.

Uploaded by

Renu Bang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views6 pages

3d Transformation

The document discusses various 3D geometric transformations including translation, scaling, and rotation of 3D objects. It describes how to translate a point by adding offsets to the x, y, and z coordinates. Uniform and relative scaling are covered along with scaling about a fixed point. Coordinate-axes rotations for the x, y, and z axes are shown along with equations for general 3D rotations about arbitrary axes.

Uploaded by

Renu Bang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd

Graphics

3D Geometric
Transformation
3D Translation
CGVR

 Translation of a Point

x'  x  t x , y'  y  t y , z'  z  t z

 x '  1 0 0 tx  x
 y ' 0 1 0   
t y  y
 
 z '  0 0 1 tz  z 
    
x  1  0 0 0 1  1 
z

cgvr.korea.ac.kr
3D Scaling
CGVR

 Uniform Scaling

x'  x  s x , y'  y  s y , z'  z  sz

 x'  s x 0 0 0  x 
 y '  0 sy 0 0  y 
 
 z'  0 0 sz 0  z 
    
x
1  0 0 0 1  1 
z

cgvr.korea.ac.kr
Relative Scaling
CGVR

 Scaling with a Selected Fixed Position

y y y y

z x z x z x z x

Original position Translate Scaling Inverse Translate

 x '  1 0 0 x f  sx 0 0 0  1 0 0  x f  x
 y ' 0 1 0 y f   0 s y 0 0 0 1 0  y f   y 
T ( x f , y f , z f )  S ( s x , s y , s z )  T (  x f , y f , z f )     
 z '  0 0 1 z f   0 0 sz 0  0 0 1  z f  z 
      
 1  0 0 0 1  0 0 0 1  0 0 0 1  1 

cgvr.korea.ac.kr
3D Rotation
CGVR

 Coordinate-Axes Rotations
 X-axis rotation
 Y-axis rotation
 Z-axis rotation

 General 3D Rotations
 Rotation about an axis that is parallel to one of the
coordinate axes
 Rotation about an arbitrary axis

cgvr.korea.ac.kr
Coordinate-Axes Rotations
CGVR

 Z-Axis Rotation  X-Axis Rotation  Y-Axis Rotation

 x' cos  sin  0 0  x   x' 1 0 0 0  x   x'  cos 0 sin  0  x 


 y '  sin  cos 0 0  y   y ' 0 cos  sin  0  y   y '  0 1 0 0  y 
     
 z'  0 0 1 0  z   z '  0 sin  cos 0  z   z '   sin  0 cos 0  z 
              
1  0 0 0 1  1   1  0 0 0 1  1  1  0 0 0 1  1 

y y y

x x x
z z z

cgvr.korea.ac.kr

You might also like