Closed
Description
When the render is P3D, the stroke() overlap the image, that's not happen in classic renderer and in P2D. that's happen too in P 3.5.3.
PGraphics pg;
void setup() {
size(300,300,P3D);
pg = createGraphics(width,height,P3D);
}
void draw() {
background(75);
stroke(255);
strokeWeight(2);
fill(0);
ellipse(mouseX,mouseY,100,100);
pg.beginDraw();
pg.noStroke();
pg.fill(125);
pg.beginShape();
pg.vertex(34,45);
pg.vertex(width/2,60);
pg.vertex(width/2,height);
pg.endShape(CLOSE);
pg.endDraw();
image(pg,0,0);
}
Metadata
Metadata
Assignees
Labels
No labels