-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
texturemode(IMAGE) not working #6437
Comments
Hi @peeter2 , I just checked this in the current main build of p5 and it seems to be fixed. You can take a look at a built binary here. Going to close for organization, but if you feel like this is still an issue feel free to re-open! |
Thanks. That build in your sample seems to be using version 1.7.0 as I see in the p5.js file and seems to work fine. |
I'm not sure why it says 1.7, but I just built that file from source this morning. Maybe that versioning comment is not being updated correctly |
@peeter2 Just to clarify, the version @aferriss used in the sketch shared is built from the latest main branch of this repo, not 1.7.0. The changes made between 1.7.0 and the main branch has not been released yet and so isn't yet available (but will be once we make a new release, probably soon). Edit: Actually looking at the reference page I'm not sure, at least the second example, whether it is showing what it is supposed to show. See screenshot below: And there seems to be a tendency for the WebGL context to crash with the following warning messages:
|
@limzykenneth is that still happening on the latest main build? it looks like the issue was already captured and solved: #6365 Context loss should probably be opened as a separate issue if that's the remaining one |
I'll see if I can test if it is working on the main build, but I would supposed it is probably fixed in #6365 in this case. (Edit: local test showed that this is working on latest main branch) @peeter2 Can you confirm this is the issue you are seeing on the reference page? @davepagurek The context loss one is a bit random and tends to follow a short hang of the browser, not very replicable so if you are not seeing it, it may not be a problem. |
Yes, the second example on the reference page shows a blank gray canvas: https://p5js.org/reference/#/p5/textureMode
Looking forward to the fixed release. |
Most appropriate sub-area of p5.js?
p5.js version
No response
Web browser and version
No response
Operating System
No response
Steps to reproduce this
Steps:
What can be done to fix this? It worked fine in p5.js version 0.9.0.
Thanks
The text was updated successfully, but these errors were encountered: