Discussion:
Clipping working - now can we release?
Stuart Axon
2011-05-07 01:40:02 UTC
Permalink
OK .. maybe want a little testing first I guess.

It took a while as I had some sort of mental block about how it worked in cairo
(simple, just like stroke), and also preventing me from understanding it in
sb/nb (simple, just pass in the path to clip to) .. not sure why I had so much
trouble but there you go.

+ The explanation I should've put in the bug report about how to add it (or
anything)(if I hadn't had said mental block).

The drawqueue is just a load of functions that get passed a cairo context -
you create a function, something like render_closure, that returns a render()
function... this gets called later when rendering happens... see ClippingPath ..
really not much in it at all.

Seeing the old shoebot implementation, and actually reading cairo and nodebox
docs was all that was needed all along ;)




Anyway.. .point is - clipping seems to be working ...

S++
ricardo lafuente
2011-05-09 20:52:21 UTC
Permalink
I'm working with the dev version, and have to say this is totally
awesome work :-)

I see a lot of fixed stuff, e.g. textpath works like Nodebox now! And
wow, Shoebot is *fast* now :-D

I found a couple of issues though: for some reason the Gedit plugin
doesn't load the script when I do "Run script". It will do for today's
presentation at the Montréal Python user group, but I'll try and debug
this asap, it's quite the blocker.

Save as SVG from the GTK window is not working either. I'll look into
this as well. Outputting SVG through the commandline is working fine
though.

For now I'll just file bug reports.

Thanks again Stuart! We're shaping up nicely for a release :-)
Post by Stuart Axon
OK .. maybe want a little testing first I guess.
It took a while as I had some sort of mental block about how it worked in cairo
(simple, just like stroke), and also preventing me from understanding it in
sb/nb (simple, just pass in the path to clip to) .. not sure why I had so much
trouble but there you go.
+ The explanation I should've put in the bug report about how to add it (or
anything)(if I hadn't had said mental block).
The drawqueue is just a load of functions that get passed a cairo context -
you create a function, something like render_closure, that returns a render()
function... this gets called later when rendering happens... see ClippingPath ..
really not much in it at all.
Seeing the old shoebot implementation, and actually reading cairo and nodebox
docs was all that was needed all along ;)
Anyway.. .point is - clipping seems to be working ...
S++
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Stuart Axon
2011-05-09 23:42:41 UTC
Permalink
Sent: Mon, May 9, 2011 9:52:21 PM
Subject: Re: [shoebot-devel] Clipping working - now can we release?
I'm working with the dev version, and have to say this is totally
awesome work :-)
Cheers - as I'm coming back to the code after a few months it all seems
really dodgy (my code that is)!
I see a lot of fixed stuff, e.g. textpath works like Nodebox now! And
wow, Shoebot is *fast* now :-D
Most of this is thanks to nodebox-gl, stuff brought across
I found a couple of issues though: for some reason the Gedit plugin
doesn't load the script when I do "Run script". It will do for today's
presentation at the Montréal Python user group, but I'll try and debug
this asap, it's quite the blocker.
Ah, I need to test this more - it worked for some brief testing, is not
reloading
it or something?
Save as SVG from the GTK window is not working either. I'll look into
this as well. Outputting SVG through the commandline is working fine
though.
Ah, there is an issue here - when you click save it actually tells it to do
a save on the next render, but if it's not animated then it won't save
(I think).

Next time I take rendering apart I've got an idea how to fix this ;)
[although might be a while]
For now I'll just file bug reports.
I've got another one, the lsystem example with the tree doesn't work at all,
not sure when or how I broke it.
Thanks again Stuart! We're shaping up nicely for a release :-)
Hehe, maybe we can do one before 2020 ... :D
OK .. maybe want a little testing first I guess.
It took a while as I had some sort of mental block about how it worked in
cairo
(simple, just like stroke), and also preventing me from understanding it in
sb/nb (simple, just pass in the path to clip to) .. not sure why I had so
much
trouble but there you go.
+ The explanation I should've put in the bug report about how to add it (or
anything)(if I hadn't had said mental block).
The drawqueue is just a load of functions that get passed a cairo context -
you create a function, something like render_closure, that returns a
render()
function... this gets called later when rendering happens... see
ClippingPath ..
really not much in it at all.
Seeing the old shoebot implementation, and actually reading cairo and
nodebox
docs was all that was needed all along ;)
Anyway.. .point is - clipping seems to be working ...
S++
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel l mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Continue reading on narkive:
Loading...