We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I want to change the colors of PShapes dynamically. But using 2 different threads (with different colorModes) I get interferences between the coloring of one java2D and one P3D thread. (pictures flickering and seem to be influenced by the settings in the other thread.
One problem seems to be the setting of the colormode for PShape: in the processing and javadocs I found no information about how to set it. There is the method: public void colorMode(int mode, float maxX, float maxY, float maxZ, float maxA) If I understood right the variable "mode" sets the colorMode (RGB or Hue). But which value I have to set for this?