It works great right up until I close the window, and then it crashes.
Perhaps because the Window is invalid at this point?
One way to solve would be to check the window as valid before attempting to dereference it. (Only I don’t know how to do that)
But I can’t help thinking I’m going about it the wrong way.
Is there a better way of taking a snapshot every frame (in c++, obvs)?
I’m new to Panda3D and this is my first post. Looking forward to getting involved with the project.
Thanks for the reply. I think that’s exactly what I need to do, but for some reason it’s not working. I’m not receiving the callback when I press ‘q’. I have inserted some logging but never see the message.