Open arthurpdesimone opened 3 years ago
Hi and sorry for being so late. I am very buzzy these days. So QPanda3D is a simple wrapper to Panda3D meant to make it possible to put QPanda3D stuff inside a pyqt5.
Technically, any thing possible with Panda3D, should be possible with QPanda3D. I didn't really think about rectangular selection, but I am sure that someone has done this using panda3d.
It possible that the fact that QPanda3D renders an image using panda3d then sends it to pyQT to be displayed on a QPanda3DWidget widget and overrides pyqt mouse down/move and release methods by sending messages to Panda3D may have included an offset somehow.
So I have upgraded the code so that the PyQt part sends the actual position of the mouse as well as the wheel delta to the Panda3D as event parameters. Please read the new readme. I added a section about this and an example.
I hope this could help you and others.
Hello, I'm struggling to find out how to make a working rectangular selection using QPanda3D, the library is great and I don't wanna abandon my project. Any thoughts would be great Panda topic