GUI in Panda 3D

I want to create button on start window of program, and button click will open another window in which terrain should be generated.
How should coding be done for the same?
How to open another window on button click and render scene into new window?

There are many options for building GUIs in Panda3D. DirectGUI is built in and probably the easiest to get started with. Other options include:

  • LUI - Lightweight User Interface for Panda3D
  • CEFPanda - Package for using CEFPython in Panda3D, which allows for building GUIs with HTML5/CSS/JS
  • librocket - A GUI library that Panda3D has built-in support for, but I am not seeing a manual page explaining Panda3D’s bindings/wrapper