|
Author |
Topic: Stroke Transparency Bug (Read 792 times) |
|
mgorbet
|
Stroke Transparency Bug
« on: Feb 10th, 2004, 4:17am » |
|
Been seeing a bunch of different odd behaviour with stroke transparency and drawing order. Strokes don't seem to fade properly in the following example. Code: float dia = 50; float a=0; void setup() { size(200, 200); background(100); fill(255); ellipseMode(CENTER_DIAMETER); } void loop() { // noStroke(); fill(0, 10); rect(0,0,width, height); fill(128); stroke(255); a+=0.01; ellipse(mouseX, mouseY, 10, 10); translate(width/2, height/2); rotate(a); ellipse(50, 0, dia, dia); noStroke(); ellipse(-50, 0, dia, dia); } |
| Here, the strokes being drawn for the ellipse that follows the mouse are fading, and the fill for the rotating elipses are fading, but the strokes on the rotating one are not. Version: Alpha0068 OS: WinXP PC: IBM Thinkpad Thanks! Matt
|
« Last Edit: Feb 10th, 2004, 4:19am by mgorbet » |
|
|
|
|
fry
|
Re: Stroke Transparency Bug
« Reply #1 on: Feb 11th, 2004, 3:50pm » |
|
yeah, stroke on circles is a little bit broken since it uses "optimized" code, but then had some alpha issues.. i'll make a note to repair in the next release.
|
|
|
|
|