Hide Panda Window

Hi,

I’m re parenting my panda3D window on a panel on my c# windows application. Everything ok for now.
My panda3d app is responsible for that task given the panel handle.

My problem is:

  • I can see the panda3d window when it is created and until the reparenting is concluded.
    Is it possible to start the panda3d Window hidden?

Best Regards

Gabriel Blanco

You can avoid creating a window in the first place with:

window-type none

in your Config.prc file. Then you have to create it later (when you have the parent window handle) with:

base.windowType = 'onscreen'
wp = WindowProperties.getDefault()
wp.setParentWindow(parentHandle)
base.openDefaultWindow(props = wp)

David