Re: [Tuxpaint-devel] Stamps rotation
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Pere P. i C. <per...@gm...> - 2022-09-11 10:01:27
|
El ds. 03 de 09 de 2022 a les 01:51 +0200, en/na Pere Pujal i Carabantes va escriure: > Hi Bill, thanks for the comments, > > El dv. 02 de 09 de 2022 a les 01:53 -0700, en/na Bill Kendrick va escriure: > > Wow, this was a pleasant surprise! I checked it out > > briefly; my main issue has to do with speed, but > > I'm not sure the best way to deal with it. > > > > (In other words, the response of the XOR outline > > preview can 'lag' a bit with very large stamps.) > > Indeed, I've tried caching the 360 degrees XORs and things > speed up a lot after the cache has been created, but the first > moments before the cache is created XOR still lags. > We could also restrict the rotation steps to 5 or 10 degrees each, > so things go smoother, and combine restrictions with cache. > > At the moment I don't have any code ready to show. > > Another idea is to discard XORs/events so there is no need to draw > XORs for old positions when the mouse has moved meters. I've finally implemented this approach, toke me some time but seems to work fine, and speeds up a lot the rendering of BIG scaled stamps. Please test Thanks Pere |