简体   繁体   中英

Python GUI interface and 3D Canvas - which one to choose?

I'd like to write a Python GUI interface that is somehow linked to a 3D canvas (either in the same or a separate window) and allows the user to insert (by pressing LMB) and edit spheres (eg by clicking RMB on the desired one and picking a relevant option from the side menu). Moreover, I would like it also to keep the position of each sphere so I can keep xyz coordinates.

Nonetheless, the issue is that I'm not sure which frameworks to use. So far, I've been using tkinter , but I've read that it doesn't function with 3D, On the other hand, vpython appears to be rather interesting, but I haven't found any examples of it working with any of the GUI frameworks.

What should I do? Thank you for your help.

i recommend 2 libraries: pyglet ( packtpub create insane 3d gui ) and QtOpenGL ( code in action mastering gui programming python course )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM