Archived

This topic is now archived and is closed to further replies.

luzop

world to local transformation ??

Recommended Posts

If I have a series of transformations for an object, and I want to express some vertex (in world coordinates) of another object in the coordinate system of the first one. Should I multiply vertex * M ?! (where M is the concatenation of several transformations for the first object.) bye.

Share this post


Link to post
Share on other sites
The "model" matrix is a matrix that transforms model coordinates to world coordinates. If you want to transform world coordinates to model coordinates, simply use the inverse of the model matrix.

Share this post


Link to post
Share on other sites