Jump to content
  • Advertisement


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


Normalized Device Coordinates and the view plane

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

Are the normalized device coordinates resulting from the projection transformation before the viewport transformation is done coordinates in world space on the view plane? I''m trying to generate a world-space vector along the view plane based on the movement of the mouse between frames. I was thinking I could just do an inverse viewport transformation on the mouse coords, which would yield the normalized device coordinates resulting from the projection that would place them at their screen locations, but that won''t work if the NDCs are not in world space. Does anyone have any suggestions? Thanks!

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!