🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Latest glfw Activity
“did you consider the impact of not disabling the mouse while debugging?”
Yes, this is what I am doing now to be able to debug, however in my windowed app this means I can not turn (e.g) left that much (when the mouse leaves the window), so this is not the best solution but this way I …
Two suggestions:
- The Wikipedia page on fisheye distortion lists several principled distortion types, actually adopted in real lenses, that have a realistic appearance and interesting properties. You'll need further sources for a good treatment of how they work.
- You could start from a reference pictur…
It should be precise enougth to detect what element is udner the mouse. How is your matrix constructed, is it a projection or orthogonal matrix?
If you initialized a projection matrix then you need to transform the coords of your 2D stuff into orthogonal window coords before you can use them. Then u…