livphi wrote: Wed May 27, 2026 8:45 pm
It would be more useful if it supported the OpenGL driver. GTK4 supports drawing with OpenGL. https://docs.gtk.org/gtk4/class.GLArea.html. To me, it seems possible to somehow give Irrlicht the GL context so it can do its thing on the GTK.GLArea. I don't know anything about programming with OpenGL so this would be a challenge to me, but it doesn't seem impossible. I haven't figured this out yet.
I am currently already doing it with GTK3 for the 2D and 3D level editors that I built. They are both built with wxWidgets which uses GTK3 on linux. Its probably the same method that is being used here.
I am sure GTK4's method isn't that much different.
n00bc0de wrote: Thu May 28, 2026 5:21 am
I am currently already doing it with GTK3 for the 2D and 3D level editors that I built. They are both built with wxWidgets which uses GTK3 on linux. Its probably the same method that is being used here.
I am sure GTK4's method isn't that much different.
Interesting. Would you mind showing me? I couldn't find it on your profile. You were able to run Irrlicht and GTK together by using wxWidgets? Is it possible to do it without wxWidgets?