Hi Bill,
El dl. 03 de 10 de 2022 a les 22:46 -0700, en/na Bill Kendrick va escriure:
> On Sun, Oct 02, 2022 at 02:13:30AM +0200, Pere Pujal i Carabantes wrote:
> > Hi all,
> >
> > Trying to improve the speed of the Rush magic tool I've noticed that using rotozoomSurface() increases the speed of the tool to the double, while this is a great improvement, Rush is still too slow in
> > big drawings, so I've tried another approach to get a dynamic zoom, basically scaling and alpha blitting over, and now it gets a decent speed.
> >
> > Please test the attached patch and see if it does what Rush is meant to do.
>
> I think it's great. It's worth the performance increase.
> Thanks so much!
>
>
> > The patch exposes rotozoomSurface as api->rotate_scale() to the magic tools and uses it in the Rush tool.
> > If adopted, I think we should also update the magic api version.
>
> Yes, definitely. I'll work on that now. (I was planning on it,
> but currently cannot find any ticket for that. Maybe it was a FIXME
> in the code somewhere?)
Don't know, I see you applied the patch, thanks :)
>
>
> > Please test, there are still some things to tweak, feel free to play around.
>
> I think my main complaint is that things vanish into
> 'infinity' in the center a little too easily, when zooming out.
> When zooming in, it's very nice. I can see some fun animations
> being made with that effect, too!
I've tweaked it and now you need to drag down all the canvas to get to the center.
Also got an idea about a swirl magic tool...
Pere
>
> -bill!
>
>
> _______________________________________________
> Tuxpaint-devel mailing list
> Tux...@li...
> https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel
|