Timeline for Raycasting mouse coordinates to rotated object?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 10, 2012 at 14:50 | vote | accept | SPL | ||
Dec 10, 2012 at 14:51 | |||||
Dec 10, 2012 at 13:59 | vote | accept | SPL | ||
Dec 10, 2012 at 13:59 | |||||
Dec 4, 2012 at 23:41 | comment | added | TraxNet | Yes, you can partially use some of the info you used to build your view and projection matrices to get the vector (just thought the matrix inverse build be easier get the idea). You need the camera "look at" direction, an up vector, the screen size and the camera field of view. I found this site with some explanations and the maths involved: courses.csusm.edu/cs697exz/camera.html | |
Dec 4, 2012 at 10:59 | comment | added | SPL | There is no other way to get the ray? I don't want to use matrix inverts if I can do it in a different way. The post is really good and easy to understand even for a beginner :) | |
Dec 1, 2012 at 11:49 | history | edited | TraxNet | CC BY-SA 3.0 |
added 511 characters in body
|
Dec 1, 2012 at 11:35 | history | edited | TraxNet | CC BY-SA 3.0 |
added 28 characters in body
|
Dec 1, 2012 at 8:52 | history | answered | TraxNet | CC BY-SA 3.0 |