filter() incompatible with high pixel density on P2D and P3D #429
Labels
has attachment
Attachment was not transfered from GitLab
help wanted
Extra attention is needed
opengl
Created by: HectorCarral
Description
Using
filter()
(for example,filter(GRAY)
,filter(INVERT)
) in combination with a higher pixel density (set for example withpixelDensity(displayDensity())
) behaves weirdly when using P2D or P3D.Expected Behavior
The filter would be applied with P2D/P3D and high pixel density in the same way as with the default renderer or with default pixel density.
Current Behavior
The frame is drawn zoomed in on the top left corner. If the default renderer is used, everything works as expected. If no higher pixel density is used, everything works as expected. Interestingly, if we use
saveFrame()
, the saved image looks fine even though it is rendered wrong in Processing. Therefore, I'm attaching here screenshots instead of saved frames.Default renderer or default pixel density:

High pixel density and P2D/P3D:

Steps to Reproduce
filter()
.Your Environment
The text was updated successfully, but these errors were encountered: