Why Do 3D Coordinates Include Four Parameters?

  • Context: High School 
  • Thread starter Thread starter marensi
  • Start date Start date
  • Tags Tags
    3d Coordinates Mystery
Click For Summary
SUMMARY

The discussion clarifies that the four parameters in 3D coordinates, represented as A = (X, Y, Z, 1), refer to "3D projective coordinates" rather than traditional 3D coordinates. This distinction arises from projective geometry, where the fourth parameter allows for transformations such as translations and rotations to be expressed as matrix multiplications. The use of projective coordinates is particularly advantageous in computer graphics, facilitating complex transformations with simplified mathematical operations.

PREREQUISITES
  • Understanding of projective geometry
  • Familiarity with matrix multiplication
  • Basic knowledge of 3D transformations
  • Experience with computer graphics concepts
NEXT STEPS
  • Research projective geometry and its applications in computer graphics
  • Learn about matrix transformations in 3D space
  • Explore the differences between 3D and 3D projective coordinates
  • Study the implementation of transformations in graphics programming libraries
USEFUL FOR

This discussion is beneficial for computer graphics developers, mathematicians interested in geometry, and anyone involved in 3D modeling or animation who seeks to understand the underlying principles of coordinate systems and transformations.

marensi
Messages
1
Reaction score
0
hello EveryBody,

In the 3D Coordinates I always find 4 parameters instead of 3.

A = (X, Y, Z, 1)

I wonder why?

thank you.
 
Physics news on Phys.org
Please provide more information. We can't answer your question like this.
 
You don't. What you have there is NOT "3 D coordinates" but, rather, "3 D projective coordinates" (the name coming from "projective geometry" that I won't go into). In "projective coordinates" the point (x, y, z) is represented by (x, y, z, 1) with the understanding that if any calculation changes that last coordinate to something other than 1, say, a (and a cannot be 0), then we interpret (x, y, z, a) as meaning (x/a, y/a, z/a, 1).

Projective coordinates are often used in computer graphics because they have the property that translations, as well as rotations, can be be written as matrix multiplications.

In ordinary 3D coordinates, a rotation, by angle \theta around the x-axis, is given by
\begin{bmatrix}cos(\theta) & -sin(\theta) & 0 \\ sin(\theta) & cos(\theta) & 0 \\ 0 & 0 & 1\end{bmatrix}\begin{bmatrix}x \\ y \\ z\end{bmatrix}
with obvious changes for rotations around the y and z axes and all rotations given by products of such matrices.

In "projective coordinates" such a rotation would be just
\begin{bmatrix}cos(\theta) & -sin(\theta) & 0 & 0 \\ sin(\theta) & cos(\theta) & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1\end{bmatrix}\begin{bmatrix}x \\ y \\ z \\ 1\end{bmatrix}

The translation, that moves (x, y, z, 1) to (x+ a,y+ b, z+ c, 1), in projective coordinates, is given by
\begin{bmatrix}1 & 0 & 0 & a \\ 0 & 1 & 0 & b \\ 0 & 0 & 1 & c \\ 0 & 0 & 0 & 1\end{bmatrix}\begin{bmatrix}x \\ y \\ z \\ 1\end{bmatrix}
 
Last edited by a moderator:

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
17
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K