I read a while back that building GUI in Panda3D can be done in two ways.
The first being the Rocket library
The second being panda’s main GUI element (DirectGUI)
The problem I’m currently having (with DirectGUI that is) is trying to make the organization and positioning process a whole lot easier for the creative part of my team. It became even more difficult when the second “alternative” had quite sparse documentation.
I personally think the DirectGUI would really benefit from an update to the design process and to its overall flexibility in relation to performance.
Does anyone thinks there is a solution?
1 Like
rdb
January 30, 2020, 10:05am
2
Yes. Unfortunately, libRocket is abandonware, so we’re dropping support for it.
You might also want to check out the DirectGUI designer, made by @wolf :
Hey everyone,
creating GUIs in Panda3D can be a tedious task at times and not everyone designing a GUI is a coder. That’s why I’ve created and now proudly present to you, the DirectGui Designer.
DirectGui Designer
I've created this application to simplify the task of designing and creating user interfaces with Panda3Ds DirectGui system as much as possible.
Currently, it is in a kind of Beta state where all features should work but some things might still be missing and bugs will lurk in the…
There are a few alternative UI systems, like LUI:
And CEFPython:
Also see this thread for discussion of alternative GUI systems, which mentions a bunch more alternatives:
I’m largely posting this thread to move discussion away from this GitHub issue and to gain some input from the userbase.
We’re looking to deprecate libRocket, which is (was) great in that it’s a resource-based GUI framework - it runs (ran) on the HTML-derived RML language for expressing a GUI independently of programmer assistance. Unfortunately, it’s abandonware and not compatible with Python 3.x, so unless someone’s willing to step forward and maintain it, we’re not going to be able to contin…
BenChi
January 30, 2020, 1:35pm
3
Really appreciate this channel. I just started working with this engine.
Then perhaps you might find my DirectGUI layout system useful:
Hi guys!
For those of you who have been looking for an automatic layout system to manage DirectGui widgets, I might have some good news !
As I already implemented such a system for my own Panda3D Studio project, I decided to try and adapt it to work with DirectGui, and the results seem quite promising!
This should be considered a work in progress, as I haven’t fully tested things like DirectScrolledFrame management or adding/removing/resizing widgets at runtime, so certain func…
Thank you so much for the help, I found LUI, DirectGUI designer and the DirectGUI layout system extremely helpful.