On Fri, 2004-11-26 at 18:54, Bill Kendrick wrote:
> Tinting in CVS is a bit broken right now, and VERY slow (on my 450MHz Celeron,
> at least).
> 
> Best example is the cartoon butterfly.  It doesn't change color (it's always
> orange), and takes about 2 seconds between my clicking, and it appearing
> on the canvas.
> 
> Ideas? :)
> 
> (This is with the latest CVS for both stamps and code)

First of all, the butterfly is looking better than ever
for me. It tints perfectly. I'll send you an example.

I'd have expected your PC to be very fast at this, because
the PC has built-in trancedental math functions in the CPU.
You have instructions for sin(), cos(), tan(), and so on.

Unlikely to be the problem, but...

One thing that may need to change for a PC is the place where
a double is compared against zero. Instead of this:

      if(dst.sat>0)

You might be better off with:

      if(dst.sat>0.00000001)


_______________________________________________
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev

Reply via email to