Advertisement

Latest glfw Activity

Introducing RGFW: A lightweight Single Header Windowing framework & GLFW alternative
Introducing RGFW


RGFW is a cross-platform single-header framework that abstracts creating and managing windows. RGFW is simple to use, letting you focus on programming your game or application rather than dealing with complex low-level windowing APIs, libraries with a lot of overhead, or supporting …

2,612 views
Advertisement

@Alberth 

“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 …

30,750 views
FishEye Lens distortion (bug?)

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…
6,121 views

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…

3,689 views

The problem that occures here is that the event loop is flooded with OS specific events that tells the Window that it's position has changed. If you are on Windows for example you will always stay in the

while(true)
{
    if(PeekMessage)
    {
        TranslateMessage;
        DispatchMessage;
    }…
7,040 views
Advertisement
Advertisement