98 reputation
6
bio website
location
age
visits member for 1 year, 9 months
seen Sep 29 '12 at 22:59

Oct
12
awarded  Popular Question
Jul
16
answered How to begin stylising a game
Jun
29
comment Ray Picking Problems
Actually you were right. I don't know how I kept overlooking it, but totally my fault. Changing the ViewRatio makes it just run like a dream. I owe you tons.
Jun
29
comment Ray Picking Problems
I'm glad you found the bug, but unfortunately it doesn't solve my issue. Right now, the coordinates are dead on for center screen, but the X value is off by around 3 at each side edge, and around 2 for the top and bottom edges. I feel like it has something to do with the aspectRatio, since 3/2 == 960f/640f.
Jun
28
awarded  Teacher
Jun
28
answered How to balance this Pokémon simulator metagame by feedback?
Jun
28
awarded  Supporter
Jun
28
awarded  Scholar
Jun
28
accepted Ray Picking Problems
Jun
28
comment Ray Picking Problems
I'm glad it's not just me misunderstanding the concept. I feel like I'm so close I can taste it. The current formula is spot on accurate if the mouse is in the center of the screen. Unfortunately pointing at the same point in 3D space, but a different point on the window, the accuracy is off. I notice that the above algorithm, or at least the way I implemented it, doesn't use the Projection Matrix. When I tried to multiply the Modelview by the Projection, with a fixed Z to test to, my pointing to X & Y decided to go to Infinity. Am I missing something? You've already helped out so much.
Jun
27
comment Ray Picking Problems
I tried yours too, I just can't seem to get either to work, and I don't know why. :(
Jun
27
revised Ray Picking Problems
added 126 characters in body
Jun
27
revised Ray Picking Problems
Updated code and response #2
Jun
27
comment Ray Picking Problems
I've stepped through it, and I just don't know what's going on. I'm currently using your code almost verbatim, and I'm getting a ray pointed towards the camera, instead of away. I'm editing the question again to show the updated changes, as well as my gluPerspective and glLookAt.
Jun
25
revised Ray Picking Problems
edited body
Jun
25
awarded  Editor
Jun
25
revised Ray Picking Problems
Updated code and response
Jun
24
awarded  Student
Jun
24
asked Ray Picking Problems