-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Win 10 not every example is working #258
Comments
Hi, that's odd. It sounds like the mouse, or more probably keyboard input is stopping it running. The dlls are just OpenGLES functionality so if the I will have a go at using pi3d on a windows machine here (I haven't done that for a long time!) |
Well Im only asking for that because im programming for both platforms and im probably going to teach pi3d for my students. |
Well it used to work OK so it's something that needs fixing! |
OK well I've just gone through the process of cloning pi3d, pi3d_demos and pi3d_windll then pip installing pygame, numpy and pillow, all 64 bit. And, remarkably, mostly it seems to work! The ones that don't run at all seem to be a) ones using InputEvents but that's linux specific so has never worked on windows. b) Ones using offscreen textures i.e. blur, blur_legacy, foreststereo, all the filters also using I will have a look at the code and see if I can see what the difference is between the Do my results match yours in any way? |
The example that has my concern is forestwalkstereo.py , while forestwalk works ok (there is some lag in the keyboard presses) the stereo version only renders background color. Also the dogfight crashes because of some problem with events . |
Good. That sounds to be the same as I'm seeing. The demos using InputEvents such as Silo and Dogfight only need a couple of lines changing, but the problematic OffscreenTextures need a bug to be tracked down and fixed. You are right, the keyboard input using pygame needs to be flushed every loop that it's read from. I will have a look at that too, it should be easy to fix. |
Tried the default installation on windows using provided dll's.
The Earth exampe runs correctly but almost every other doesnt.
Tried stereo example and the only output is light blue window.
for example :
gives me blue box
The text was updated successfully, but these errors were encountered: