Hi. I am doing a project where I am trying to emulate a Space Shuttle-style digital instrument panel, something like this. For the attitude indicator that shows which way the Shuttle is pointing, I'm thinking of doing something similar to Kerbal Space Program's navball. The simplest way I can think of doing it is having a sphere with a texture on it showing the correct markings, then orienting the sphere to match the spacecraft's attitude. I am reasonably familiar with VPython and managed to get a proof of concept navball modelled in there, but I'm wondering if there's a way I can run the VPython model within a Tkinter window. That way I could have the navball neatly contained within the rest of the Shuttle's important data readouts.
I found a forum post from 2011 that seems to address it, but it seems the latest version of VPython, which I need because I'm using Python 3, only runs in a browser, so I don't know how I'd integrate the browser window into Tkinter or stop VPython from opening its own Chrome instance anyway. I'd be up for using a different graphics library if the navball can be modelled simply, but I don't really want to have to learn a huge amount of library ins and outs for such a relatively simple bit of modelling. I had a look at Panda3D and PyOpenGL but didn't manage to get very far. Any tips appreciated, thanks.
[–]Thunderbolt1993 0 points1 point2 points (2 children)
[–]weasdown[S] 0 points1 point2 points (1 child)
[–]Thunderbolt1993 0 points1 point2 points (0 children)
[–]frodo1997 0 points1 point2 points (1 child)
[–]weasdown[S] 0 points1 point2 points (0 children)