Very odd problem with OPENGL and point()
in
Programming Questions
•
2 years ago
I get a black window when I try to run this simple program:
import processing.opengl.*;
void setup() {
size(100, 100, OPENGL);
background(0);
stroke(255);
}
void draw() {
point(mouseX, mouseY);
}
The only way I can see some pixels is if I increase the strokeWeight to 1.4 or higher (not even 1.3 will work). But then I get those thicker dots.
I'm running this on an iMac with a ATI Radeon HD 4670. Can anyone else with a similar setup try this and let me know if they see the same behaviour?
Thanks!
import processing.opengl.*;
void setup() {
size(100, 100, OPENGL);
background(0);
stroke(255);
}
void draw() {
point(mouseX, mouseY);
}
The only way I can see some pixels is if I increase the strokeWeight to 1.4 or higher (not even 1.3 will work). But then I get those thicker dots.
I'm running this on an iMac with a ATI Radeon HD 4670. Can anyone else with a similar setup try this and let me know if they see the same behaviour?
Thanks!
1