Coordinates transformation

ぐ巨炮叔叔 提交于 2019-12-24 20:33:08

问题


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


回答1:


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


来源:https://stackoverflow.com/questions/13032127/coordinates-transformation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!