-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
We have the graphics of the simulations. Now, it's time to make some visualizations.
Pretty easy to embed irrlicht into a pyqt gui.
- Using widget.handle(), determine the handle for the individual widget. This needs to be done after the gui has been displayed, not while making the gui object. Easiest to use
QtCore.QTimer.singleShot
, or to just ask later when the graphics are ready to display. - With
createDeviceEx
, specify that window id as theWindowId
.
Known things that need to be done.
- Make a python module to hold the graphics, running on a background thread.
Things that I still need to figure out
- Event passing. Mouse location can be grabbed by irrlicht, but I can't figure out how to get keypresses to it. Uncertain whether mouse clicks are being passed to irrlicht or not.
- Screen real estate. The GUI is started to get rather crowded.
Metadata
Metadata
Assignees
Labels
No labels