You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I implemented a small MWE to showcase the issue (see code below).
It creates four cards of random color and places them next to each other (like you would hold them in your hand when playing any kind of card game). Using 8 buttons, you can move the cards forward and backward. I observe the following behaviour: when moving cards from the back to the front, they don't go "through" the adjacent cards. Instead, it seems that the card nearest to the camera on initialization is always rendered on top on the screen, even if it should be behind any of the other cards at some point.
For comparison, you can exchange run_qt() for run_panda3d() at the bottom of the MWE script, which shows that when using plain Panda3D, the cards occlude each other as expected.
Tested on Windows 10, GTX 1070 Ti, Python 3.6.
I'd really appreciate if you could have a look since I was hoping to use this module to migrate the GUI for my card game from Panda's DirectGUI to Qt.
I implemented a small MWE to showcase the issue (see code below).
It creates four cards of random color and places them next to each other (like you would hold them in your hand when playing any kind of card game). Using 8 buttons, you can move the cards forward and backward. I observe the following behaviour: when moving cards from the back to the front, they don't go "through" the adjacent cards. Instead, it seems that the card nearest to the camera on initialization is always rendered on top on the screen, even if it should be behind any of the other cards at some point.
For comparison, you can exchange
run_qt()
forrun_panda3d()
at the bottom of the MWE script, which shows that when using plain Panda3D, the cards occlude each other as expected.Tested on Windows 10, GTX 1070 Ti, Python 3.6.
I'd really appreciate if you could have a look since I was hoping to use this module to migrate the GUI for my card game from Panda's DirectGUI to Qt.
Python source for MWE:
The text was updated successfully, but these errors were encountered: