Solved

# 3D Coordinate Translation

Posted on 2009-04-10

I am currently trying to translate the position and rotation of objects in two different coordinate systems.

I've tried to use Matrix transforms but it's not getting me the results I need, which leads me to believe I'm lost.

Both follow Right Hand Rule rotation.

The first is 3D Studio Max:

Z axis - UP

X axis - RIGHT

Y axis - Into the screen

The next is:

Z axis - out of the screen

X axis - RIGHT

Y axis - DOWN

I've can easily translate the positions (z = -y, x = x, y = -z) but translating the rotation is causing me no end of grief. Both systems can use euler angles (assume XYZ order of rotation), the second system has no concept of a world, so the world and the camera are fixed.