Question

I have two 3D objects in space and i want to copy the points from one object to another. The problem is that these objects don't share a common coordinate system and i have to do coordinate transformations. I have the local transformation matrix for both objects and i have also access to the world transformation matrix. I know there's some calculations to be done using these transformation matrices but i don't know how.

How can i transform one point in the first object so that it has the same position(relative to the world coordinates) if i copy it in the other object( or its coordinate system )?

Thanks

Was it helpful?

Solution

Well, you have to apply the conversion operator that you have. E.g., the relation between polar (r, t) and cartesian (x, y) coordinates is defined by:

x = rcost
y = rsint
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top