Jump to content
  • Advertisement
Sign in to follow this  

Object space to world space

This topic is 2972 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

I understand that object's space origin is local to the object.
But how do I convert that into world coordinates?
enough to do this?
If not, what is the target transformation matrix that I should be after?
How do I go about constructing a world transformation matrix out of nothing?

I've come up with an idea and not sure if this is correct.
The object basically has a world Vector, I make a matrix from that. And multiply the local position of the part of the object i'm after to get the world transformation . Sounds correct?

Share this post

Link to post
Share on other sites
Usually you provide each object with a position, rotation, and possibly a scale value, and then use those properties to create a world matrix. If you are unclear about this process, I would suggest taking a look through the Cg Tutorial which provides a nice entry level description of the process (plus lots of other stuff too).

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!