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 understand that your README is stating, that mouse stuff isn't supported right now, but i tried it anyway. I'm a bit confused about the error though, because my application (without qt) was inherited by the ShowBase class like your QPanda3DWorld class. I try to access the currents mouse position via the self.win attribute of the ShowBase class, shouldn't that work anyways?
Traceback (most recent call last): ^ File "C:\Users\****\earth_plotting\venv\lib\site-packages\QPanda3D\QPanda3DWidget.py", line 35, in tick taskMgr.step() File "C:\Users\****\earth_plotting\venv\lib\site-packages\direct\task\Task.py", line 495, in step self.mgr.poll() File "EarthPlot.py", line 313, in OrbitCameraTask md = self.win.getPointer(0) AttributeError: 'panda3d.core.GraphicsBuffer' object has no attribute 'getPointer'
It's hard do diagnose the issue with the given information. Could you please provide a minimal working example (script) that exhibits this behavior? This would allow me (or someone else) to debug and potentially solve this issue.
You could also attempt to use the OrbitCameraController implementation from the LayerView application: camera.py. It rotates the camera around a specified point, based on mouse movement. It could be however adapted to orbit automatically, e.g. based on a time interval.
I understand that your README is stating, that mouse stuff isn't supported right now, but i tried it anyway. I'm a bit confused about the error though, because my application (without qt) was inherited by the ShowBase class like your QPanda3DWorld class. I try to access the currents mouse position via the self.win attribute of the ShowBase class, shouldn't that work anyways?
Traceback (most recent call last): ^ File "C:\Users\****\earth_plotting\venv\lib\site-packages\QPanda3D\QPanda3DWidget.py", line 35, in tick taskMgr.step() File "C:\Users\****\earth_plotting\venv\lib\site-packages\direct\task\Task.py", line 495, in step self.mgr.poll() File "EarthPlot.py", line 313, in OrbitCameraTask md = self.win.getPointer(0) AttributeError: 'panda3d.core.GraphicsBuffer' object has no attribute 'getPointer'
The code of the task producing the problem is:
Everything else seems to work fine, sadly the orbit camera is an important part of my application
The text was updated successfully, but these errors were encountered: