clipping paths seem not to work anymore either Il giorno sab, 20/06/2009 alle 20.31 +0200, architetto francesco fantoni ha scritto: > colors library is broken as well with file-structure refactoring: > it used to do things like "from shoebot import Color as BaseColor" or > "from shoebot import RGB", and now it doesn't know where to find the > classes it needs > > Il giorno sab, 20/06/2009 alle 20.23 +0200, architetto francesco fantoni > ha scritto: > > hi ricardo, > > seems a lot faster indeed. > > there are some things still broken anyway, two I noticed are: > > > > -text is not working > > - .fill and .stroke attributes for objects seems not to be working > > anymore either. (e.g.sun_planet_moon_2.bot in nodebox examples > > subfolder) > > > > francesco > > > > > > Il giorno sab, 20/06/2009 alle 23.21 +0530, ricardo lafuente ha scritto: > > > hey guys, > > > > > > after the file structure refactoring, i couldn't help taking another > > > stab at finding the bottlenecks in the transform code. > > > it turns out that after > > > - removing individual path transforms, which breaks stuff like > > > rect(0,0,10,10, scale=(2,2)), but that won't be hard to put back again > > > and is a bit pointless anyway > > > - having the canvas directly process the drawables as Bot passes them, > > > instead of building a drawables stack that get drawn in the end of the > > > loop; then it applies the Bot transform matrix instead of the one in the > > > drawable > > > - and doing some cleanup on the canvas drawing code, > > > > > > stuff looks quite a bit faster to me. My eee shows something like a 2x > > > increase in speed in the planets script that Stu sent to the list some > > > months ago. > > > if you feel like trying the new code, get it through > > > > > > hg clone http://bitbucket.org/rlafuente/shoebot-filestructure > > > > > > the script i mentioned is in examples/basic/transform/planets.bot (in > > > the main branch it's in examples/nodebox/transforms_stress_test.bot IIRC) > > > > > > can any of you guys test it to make sure i'm not seeing things? > > > > > > :r > > > _______________________________________________ > > > Shoebot-devel mailing list > > > [email protected] > > > http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net > > > > _______________________________________________ > > Shoebot-devel mailing list > > [email protected] > > http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net > > _______________________________________________ > Shoebot-devel mailing list > [email protected] > http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________ Shoebot-devel mailing list [email protected] http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
