-
Notifications
You must be signed in to change notification settings - Fork 8
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
P3D and OPENGL Not working #369
Comments
I found a workaround, it is to not run your script using Processing editor, but use the command-line processing instead. Use Processing jar file (can be downloaded at processing.py official website) to run your script and edit it with any code editor. You will find the This is a dirty workaround but I could not find any better solution ! Important edit !I forgot the most important part : you need ! Re-Edit !I'm not sure the java option is useful (it throws a X11 error so I'm not sure if you will encounter it with windows), try without it first, then if it doesn't work, try with it |
You could also add these lines to the top of your sketch -- from java.lang import System
System.setProperty("jogl.disable.openglcore", "false") source: processing/processing#6061 |
Hello. I am also seeing this error. Same code snippet as above does not run in Python mode with P3D or OPENGL. Processing 3.5.4 Thanks |
Don't you have processing 4 instead of 3 ?
Also, in the meantime, I found and switched to a processing-like python3
module that actually works, it is named py5 (https://py5coding.org), you should try it out
(Edit : email awnser messed up)
|
py5 looks cool but does not solve my problem. I am trying to get Processing to work in Python mode. I am currently running Processing in version 3.5.4. I would be happy to use Processing 4 instead but my understanding is that it is not compatible with Python mode. |
It is |
Could you explain or point me to a reference that explains how to use Processing 4 in Python mode? It doesn't seem to work for me at all. For me (MacOS, Intel, Ventura 13.1) I download Processing 4, open the application, try a one-line sketch (
I cannot even click the console "Copy" button to copy the error message. (Both this sketch and copying the console work in Java mode.) |
Well, for me, the exact same one-liner works. I am running processing 4.0.1 on linux, so I don't know your issue sorry |
When I try to run my code with P3D or OpenGL, nothing happens. No window appear. Just nothing.
I have tried with Processing 4.0.1 and Processing 3.5.4
my code:
other informations:
Maybe I'm missing something in my code ?
The text was updated successfully, but these errors were encountered: