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.
Page Index Toggle Pages: 1
tint lag (Read 988 times)
tint lag
May 20th, 2005, 12:54am
 

I'm doing transitionals between 2 images and therefore require 2 tint calls, 1 for the image coming in and 1 for the other image going out.

Even with 1 call to tint the performance difference is remarkable. I don't remember it being quite this slow.

Is there another way of doing a transitional cross-fade that's not so processor intensive? Or have I got something wrong.

Code:

tint(255, fade);
image((PImage)images.elementAt(0),0,0,100,100);


etc.

Is the scaling function eating it up perhaps (I'll check!).

Thanks.

Re: tint lag
Reply #1 - May 20th, 2005, 1:00am
 

Yep, the scaling function was killing it!
Page Index Toggle Pages: 1