Solve Transformation Matrix of Object B in World Coordinates

  • Thread starter Thread starter nsorter
  • Start date Start date
  • Tags Tags
    Matrix Transform
Click For Summary
SUMMARY

The discussion focuses on calculating the transformation matrix of Object B (the Moon) in world coordinates, given the transformation matrix of Object A (the Earth) in world coordinates and Object B's position in Object A's local coordinates. The key takeaway is that to find the world coordinates of Object B, one must multiply Object A's transformation matrix by Object B's local transformation matrix. This method is essential for accurately positioning objects within a hierarchical coordinate system, such as the solar system.

PREREQUISITES
  • Understanding of transformation matrices in 3D graphics
  • Familiarity with world coordinates and local coordinates
  • Knowledge of matrix multiplication
  • Basic concepts of hierarchical transformations in computer graphics
NEXT STEPS
  • Study the principles of 3D transformation matrices in OpenGL or DirectX
  • Learn about hierarchical transformations and their applications in game development
  • Explore matrix multiplication techniques for transforming coordinates
  • Investigate the use of transformation matrices in physics simulations
USEFUL FOR

This discussion is beneficial for game developers, computer graphics programmers, and anyone involved in 3D modeling or simulations requiring accurate object positioning within a coordinate system.

nsorter
Messages
2
Reaction score
0

Homework Statement



How to find the transformation matrix of Object B in world coordinates, when you know the transformation matrix of Object A in world coordinates and the matrix of Object B in Object A's
local coordinates

Please help!
 
Physics news on Phys.org
What do you mean by "A's local coordinates"?
 
HallsofIvy said:
What do you mean by "A's local coordinates"?

there are "World" coordinates and "Local" coordinates

"Local" - object coordinates

Object B is in another(Object A's) local coordinates

Imagine Solar system

It's center is the Sun(x,y,z is 0,0,0) and planets are moving around it's World coordinates. Earth has it's local coordinates and Moon moves around Earth in it's local coordinates

We know Object B's (the Moon) position in Local coordinates(As if the Earth is the center of the Univers(0,0,0) but we don't know the World coordinates where the center is the Sun).
And we know Object A's World transformation matrix

How can I get the matrix transformation of "the Moon" in World coordinates, when we know it's position in local (relative to Earth) coordinates, and transformation matrix of Object A in World coordinates.

Please. Help is needed!
 
Last edited:

Similar threads

Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
Replies
9
Views
2K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K