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: 136
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.
livphi
Posts: 10
Joined: Tue Apr 16, 2024 10:10 pm

Re: CustomPresenter for embedding Irrlicht in GTK etc

Post by livphi »

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?
n00bc0de
Posts: 136
Joined: Tue Oct 04, 2022 1:21 am

Re: CustomPresenter for embedding Irrlicht in GTK etc

Post by n00bc0de »

2D Level Editor - https://github.com/n00b87/Nirvana2D

3D Level Editor - https://github.com/n00b87/SerenityEditor

These are editors that I bundle with RCBasic. You can dowload that and run Nirvana2D or Serenity3D to see them already built.

RCBasic - https://n00bcode.itch.io/rcbasic-basic- ... -for-games


If you want to build them, then you will need Irrlicht and wxWidgets. Serenity3D also needs the following dependencies:

SDL2 - Just get the latest version from SDL's website

an8parser - https://github.com/n00b87/an8-parser
n00bc0de
Posts: 136
Joined: Tue Oct 04, 2022 1:21 am

Re: CustomPresenter for embedding Irrlicht in GTK etc

Post by n00bc0de »

If you download RCBasic, make sure its v4.x. As of this post, the latest version is v4.10.
Post Reply