Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

SpeedRun's Journal



Screen To World Coordinates

Posted by SpeedRun, in Tutorial, Snippet 06 December 2012 · 400 views

This snippet shows how to convert a point on screen to a corresponding point in the world. It borrows heavily from the concept of ray-tracing.

Let x and y be the point on the screen which we want to convert to the world space.
We need to create a ray which passes through the camera and the point(x, y) in worldSpace
This ray needs to satisfy the line...





June 2013 »

S M T W T F S
      1
2345678
9101112131415
1617 18 19202122
23242526272829
30      

Recent Entries

Recent Comments

Latest Visitors

PARTNERS