Tagged Questions
10
votes
2answers
9k views
converting a mouse click to a ray
I have a perspective projection. When the user clicks on the screen, I want to compute the ray between the near and far planes that projects from the mouse point, so I can do some ray intersection ...