We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Streaking problem
Page Index Toggle Pages: 1
Streaking problem (Read 482 times)
Streaking problem
Jan 30th, 2008, 2:32pm
 
I'm writing a program at the moment, that I want to have motion blur over the top of it, using the faded rectangle over the top trick.

the problem is that it's leaving opaque streaks over the window that won't disappear without a call to background().

The weird thing is, I've had this problem before, but by moving the fading code to the bottom of the call stack it fixed it. That's not working this time.

You can check out the program and code here; http://www.graphicfilth.com/flowerPower/
(left Click to make a new flower, right to clear)

Any help would be appreciated.

EDIT:I've made it so it doesn't leave streaks over the top of the window by removing the 'unhint' call, but it still leaves streaks.


Thanks
Martin
Re: Streaking problem
Reply #1 - Jan 31st, 2008, 3:34am
 
Not sure if this is what you want to hear, but i was trawling the forum and, there's a bug with processing that occurs when you try drawing with a fill that has an alpha. Each subsequent fill should eventually make everything opaque with one solid colour, but sometimes, it gets stuck at a certain point, and you get ghost images.
Re: Streaking problem
Reply #2 - Jan 31st, 2008, 1:49pm
 
Well, at least it's a bug with processing, rather than me i suppose.

I had thought that  I had fixed the problem before on another applet, but it turned out that it was just because i had a black background on the other, and the streaking wasn't so easy to see.

So I guess there's no fix for this then? Sad


Cheers anyway
Martin
Page Index Toggle Pages: 1