opengl and smooth
in
Programming Questions
•
2 years ago
hey guys, i am kinda confused. i am trying to use opengl and smooth to smooth for example a simple ellipse.
But it is not working at all, not using smooth ( which is not work anymore if i am correct) but not using
this is how the following code looks on my computer...
But it is not working at all, not using smooth ( which is not work anymore if i am correct) but not using
hint(ENABLE_OPENGL_4X_SMOOTH);or anything similar. I am pretty sure it was possible, i exported a lot of images using openGL and smooth, but i just cant make it work again. Is it possible or not or am i wrong here ?
this is how the following code looks on my computer...
- import processing.opengl.*;
void setup(){
size(500,500,OPENGL);
hint(ENABLE_OPENGL_4X_SMOOTH);
}
void draw(){
background(255);
fill(255,0,0);
noStroke();
ellipse(100,100,200,200);
stroke(2,0,250);
line(0,0,mouseX,mouseY);
}
1