CustomPresenter for embedding Irrlicht in GTK etc

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
n00bc0de
Posts: 134
Joined: Tue Oct 04, 2022 1:21 am

Re: CustomPresenter for embedding Irrlicht in GTK etc

Post by n00bc0de »

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.
Post Reply