Archived

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

Transformed and untransformed

This topic is 5742 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, What is the differens between transformed vertices and untransformed... Are the transformed ones the ones that have been moved into worldspace? (or what the terms are) If so, is this statement correct; The model keeps a list of untransformed vertices (oriented around its own local coordinatesystem), for each rendering (each frame) d3d transformes the vertices and creates a new buffer of transformed vertices. This buffer is then sent to DrawPrimitive( ... ) method? /Confused Johan

Share this post


Link to post
Share on other sites
Well I think in the instance you are talking about then it means that they have had a transformation matrix applied to them (ie, they have been rotated or moved or something).

Sometimes in D3D (like when walking about the T&L pipeline) transformed means than they are in screen space.

Share this post


Link to post
Share on other sites
Untransformed: X, Y, Z values that are accordingly adjust to world space...
Transformed: Really only the screen coordinates X, Y (simplification)...

Untransformed (0,20,20) will be a bit up and back counting from the middle of the screen...
X: Left, Right
Y: Up, Down
Z: In, Out (depth)

Transformed (320, 240) in 640x480 this will be in the middle of the screen...

Hope this helps

Share this post


Link to post
Share on other sites
yes... but they''re in object space until you multiply them BY the world matrix. Then they''re in world space. But by that point, they''re no longer untransformed.

All the matrices are named based on what they transform the matrix to, not what they transform it from.

Share this post


Link to post
Share on other sites