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
This avoid loadPixels on the main graphics, which can be really slow depending on the size.
However, it really screws up the renderer which makes it freeze the normal processing window.
The reason for this is that we do it in the post method, which is not safe to draw in.
But it's the only way to get it working, or to get it working without loosing a lot of speed (I can't remember).
The text was updated successfully, but these errors were encountered:
Right now the std_err.txt file always contains the following:
To explain the issue, I first will explain how this library is done.
The
P5_Terminal_Graphics
extends thePGraphics3D
(better known asP3D
).After a frame is done we draw the result on a smaller image:
And then we get the pixels of the smaller image:
This avoid
loadPixels
on the main graphics, which can be really slow depending on the size.However, it really screws up the renderer which makes it freeze the normal processing window.
The reason for this is that we do it in the
post
method, which is not safe to draw in.But it's the only way to get it working, or to get it working without loosing a lot of speed (I can't remember).
The text was updated successfully, but these errors were encountered: