Archive 17/01/2023.

How to integrate third party GUI?

Elendil

I know Urho have some GUI, but I like to use another gui library, more complete and customizable.

My idea is, use some render layer on top of 3D. Firstly will be rendered 3D scene and then UI layer. How can I do that? Is it good idea?

I found there are only viewports, maybe create another viewport which will render only GUI?

Eugene

There is open PR with Nuclear UI in Urho’s GitHub and there is ImGUI integration here
Just look here and check how it is implemented.
BTW, what UI library you are going to use?

Elendil

Thanks, I’ll look at it tomorrow.

Noesis GUI, it is WPF for C++ and it is intended as game gui, but I try use it as gui for my program.

jmiller

We also have the two TB implementations. Updated 2016-08, Turbo Badger implementation
and Lumak’s, which I’ve used as well: TurboBadger full integration

There has been a bit of discussion on renderui - the Render path command.

Elendil

Thanks, maybe I’ll try later, because my skills are very low, and I am unable integrate Noesis in to Urho. Btw Noesis is not new but still under development and better in each release. New documentation will be updated with new updates.

I am now trying Sciter, which use HTML / CSS and JS like script, but it is not JavaScript. There are some examples for openGL, DirectX or GLFW integration and I try get some inspiration from it. Sciter is complete and used by big companies like Esset for his antivirus, Avast use sciter too. And it is free, if you don’t need static linking.

SirNate0

If you just want something like HTML/CSS, you can try libRocket, which some people have already integrated (I don’t know if I’d call it a finished integration, but it works well enough for me). I have a branch here with it, though you should just need the last few commits. Granted, you may have better luck with Sciter, as it does seem to be professional, and libRocket does have some flaws like no longer being developed (as best I can tell).