Skip to content

irrlicht display of simulations #3

@Lunderberg

Description

@Lunderberg

We have the graphics of the simulations. Now, it's time to make some visualizations.

Pretty easy to embed irrlicht into a pyqt gui.

  1. 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.
  2. With createDeviceEx, specify that window id as the WindowId.

Known things that need to be done.

  1. Make a python module to hold the graphics, running on a background thread.

Things that I still need to figure out

  1. 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.
  2. Screen real estate. The GUI is started to get rather crowded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions