We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm working with a sketch that needs to span over two displays, and when I use the renderer P2D (also P3D) the sketch window doesn't open. The task bars go away, and the window changes focus, but nothing opens. It works without the renderer, but my final sketch uses beginShape() with varying stroke color which requires the P2D renderer. Below, is a simpler example that I was using to test out what was wrong. Can anyone direct me as to how I can use SPAN and the P2D renderer? I'm on a mac mini running el capitan.
void settings(){ fullScreen(P2D, SPAN); }
void setup() { rectMode(CENTER); }
void draw() { background(0); fill(255); rect(width/2, height/2, 300, 300); }
Answers
First off: Format your code! https://forum.processing.org/two/discussion/8045/how-to-format-code-and-text#latest
Your code works perfectly fine on my computer though, and I'm on an iMac running el capitan, so there shouldn't be a difference.. I'm getting an error when using SPAN though. I assume it's becuase I have only one screen. But it still runs. And if I don't use P2D, it loads faster.
You could try to update processing or reinstall it?
Works totally fine with one monitor plugged in. Stops working with the second monitor plugged in.