Using Qt to build an editor for an OpenGL ES3 game engine
-
Hi,
been working on a 2D game engine for some time. I'm using Qt (Qt5 currently) to build the editor for the engine. There are many problems with getting OpenGL to work nicely in multiple windows with good performance (looking at you especially QOpenGLWidget ...) but I think I've overcome most of those by now. The rest is just cranking out the features!
The major missing piece in editor itself is being able to extend the editor via scripting.
Project available open source on GitHub
-
Really cool, I was also thinking how do I create a game engine editor using qt for a direct x or vulkan based game engine.
Like how is it implemented?, Let say i have a direct x based game engine and i want to have a editor built using QT.
How do i connect them. -
For that you'd need DX and OpenGL interop, i.e. you can share a DXGI resource (i.e. a texture) with OpenGL. There are extensions for that. BUT, on Windows Qt uses libAngle which normally uses DX so basically if the right APIs are available you don't need to do any OpenGL - DX interop since everything would be DX at the end of the day.