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
{{ message }}
Repository navigation
Possible issue using filter() inside of PGraphics for Syphon in Processing? #41
MacBook Pro Retina Mid-2015
OSX 11.5.1
Processing 3.5.4
I am using the Syphon Processing library and I have found a possible issue when it comes to using the filter() function inside of the PGraphics canvas for sending out frames via a Syphon Server.
I have noted that the filters used, BLUR & INVERT, do appear correctly in the Processing window however they do not appear to be sent out correctly in the Syphon output.
Is there a reason for this?
Possible solution or fix?
Or, should I try to apply the filters in a different manner altogether?
Nice work I appreciate the follow up. I took a look at #32 and found that to be a helpful description of the problem with the ordering of the "server.sendImage(canvas);" in the beginning being rather helpful.
I did notice that if I put it at the very start the Syphon output was good but the Processing window would be null. So I put it just after beginDraw()
The code below works great now and is shown in the screenshot.
Activity
codeanticode commentedon Mar 12, 2022
It's actually the same as #32, since mask() just calls filter(). I think it's an upstream bug in the OpenGL renderer in Processing.
CaseyJNova commentedon Mar 13, 2022
Nice work I appreciate the follow up. I took a look at #32 and found that to be a helpful description of the problem with the ordering of the "server.sendImage(canvas);" in the beginning being rather helpful.
I did notice that if I put it at the very start the Syphon output was good but the Processing window would be null. So I put it just after beginDraw()
The code below works great now and is shown in the screenshot.