Hi to all, here are a video with improvements in lattice deformation live effect. read credits and link to launchpad in youtube.
On Mon, Oct 28, 2013 at 10:48:16PM +0100, Jabiertxo Arraiza Cenoz wrote:
Hi to all, here are a video with improvements in lattice deformation live effect. read credits and link to launchpad in youtube.
Nice work Jabiertxo! Some suggestions:
Firstly, it seems a little slow. Can you run perf on it and see what is taking all the time?
Secondly, I think it makes sense for the same to be a 'variation diminishing' map of the control mesh. Are you using the 2geom mesh warp algorithm, or something else you've found? If you are using 2geom, you can make the variation diminishing mesh by starting with a bezier mesh (as you current have) and converting to the 2dsb form rather than manipulating the control handles directly. Feel free to ask me questions if you need help.
njh
Hi Nathan, thanks for your feedback!
About your cuestions, i run perf and the higer value is in the 2geom function "Geom::multiply_add", i give an screenshot.
For the second cuestion, i use 2Geom 2dsb in the effect. I start a discussion whith suv about the use of path parameters (the actual bezier mesh) and it give UX problems because his nodes are selectable, escalable or rotateable, can be added or deleted and the curves that joins them can be modified... for this, suv point me to restore the non interaction UX helper path from, 0.47. ¿Whats your opinion about this?
About the performance, is strange the slow to load a "simple" lattice document, attached svg in my computer whith lattice 1 wait +-20 sec, with lattice 2 it need 32 sec to open or to preview in the file open of inkscape. The extra time in lattice 2 is because it has 1 deep more (3) for central line. In both cases seems too hight. I made a perf when opening and the top inkscape function is "Geom::multiply_add" and less "Geom::multiply"
For last, i want to tell you something, i have a previous design app whith lattice, first link some screenshots:
http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:29:18.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:29:43.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:29:56.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:30:03.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:30:10.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:30:20.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:30:30.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:30:36.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:30:44.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:31:02.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:31:07.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:31:24.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:31:34.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:31:39.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:32:01.png
From the software http://en.wikipedia.org/wiki/Creature_House_Expression
I want to archive this effect with the lattice2 implementation. Could be made with current 2Geom 2dsb? I ask it, because now, the effect is applied like a "fractal" of two levels in lattice 1 and three levels in lattice2 -central line-. This way, extend the effect away of his contiguous knots, not like the screenshots links, specialy in the first level (corners of object). Corners ignore all knots of second level.
Thanks again for your feedback and offering, and sorry for my english, Jabier.
-----Mensaje original----- De: Nathan Hurst <njh@...1927...> Para: Jabiertxo Arraiza Cenoz <jabier.arraiza@...2893...> Cc: inkscape-devel inkscape-devel@lists.sourceforge.net, inkscape-user inkscape-user@lists.sourceforge.net Asunto: Re: [Inkscape-devel] Lattice deformation 2 video Fecha: Tue, 29 Oct 2013 11:53:14 +1100
On Mon, Oct 28, 2013 at 10:48:16PM +0100, Jabiertxo Arraiza Cenoz wrote:
Hi to all, here are a video with improvements in lattice deformation live effect. read credits and link to launchpad in youtube.
Nice work Jabiertxo! Some suggestions:
Firstly, it seems a little slow. Can you run perf on it and see what is taking all the time?
Secondly, I think it makes sense for the same to be a 'variation diminishing' map of the control mesh. Are you using the 2geom mesh warp algorithm, or something else you've found? If you are using 2geom, you can make the variation diminishing mesh by starting with a bezier mesh (as you current have) and converting to the 2dsb form rather than manipulating the control handles directly. Feel free to ask me questions if you need help.
njh
The lattice code has been update to use the updated helperpaths instead a path parameter, the performance is a bit faster, and to load a lot, i still want to have lattice 2 to not extend the effect away of his contiguous knots. Is posibol whith current 2Geom 2dsb?
Regards, Jabier.
El jue, 31-10-2013 a las 19:05 +0100, Jabiertxo Arraiza Cenoz escribió:
Hi Nathan, thanks for your feedback!
About your cuestions, i run perf and the higer value is in the 2geom function "Geom::multiply_add", i give an screenshot.
For the second cuestion, i use 2Geom 2dsb in the effect. I start a discussion whith suv about the use of path parameters (the actual bezier mesh) and it give UX problems because his nodes are selectable, escalable or rotateable, can be added or deleted and the curves that joins them can be modified... for this, suv point me to restore the non interaction UX helper path from, 0.47. ¿Whats your opinion about this?
About the performance, is strange the slow to load a "simple" lattice document, attached svg in my computer whith lattice 1 wait +-20 sec, with lattice 2 it need 32 sec to open or to preview in the file open of inkscape. The extra time in lattice 2 is because it has 1 deep more (3) for central line. In both cases seems too hight. I made a perf when opening and the top inkscape function is "Geom::multiply_add" and less "Geom::multiply"
For last, i want to tell you something, i have a previous design app whith lattice, first link some screenshots:
http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:29:18.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:29:43.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:29:56.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:30:03.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:30:10.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:30:20.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:30:30.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:30:36.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:30:44.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:31:02.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:31:07.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:31:24.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:31:34.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:31:39.png http://imgh.us/Captura_de_pantalla_de_2013-10-29_01:32:01.png
From the software http://en.wikipedia.org/wiki/Creature_House_Expression
I want to archive this effect with the lattice2 implementation. Could be made with current 2Geom 2dsb? I ask it, because now, the effect is applied like a "fractal" of two levels in lattice 1 and three levels in lattice2 -central line-. This way, extend the effect away of his contiguous knots, not like the screenshots links, specialy in the first level (corners of object). Corners ignore all knots of second level.
Thanks again for your feedback and offering, and sorry for my english, Jabier.
-----Mensaje original----- De: Nathan Hurst <njh@...1927...> Para: Jabiertxo Arraiza Cenoz <jabier.arraiza@...2893...> Cc: inkscape-devel inkscape-devel@lists.sourceforge.net, inkscape-user inkscape-user@lists.sourceforge.net Asunto: Re: [Inkscape-devel] Lattice deformation 2 video Fecha: Tue, 29 Oct 2013 11:53:14 +1100
On Mon, Oct 28, 2013 at 10:48:16PM +0100, Jabiertxo Arraiza Cenoz wrote:
Hi to all, here are a video with improvements in lattice deformation live effect. read credits and link to launchpad in youtube.
Nice work Jabiertxo! Some suggestions:
Firstly, it seems a little slow. Can you run perf on it and see what is taking all the time?
Secondly, I think it makes sense for the same to be a 'variation diminishing' map of the control mesh. Are you using the 2geom mesh warp algorithm, or something else you've found? If you are using 2geom, you can make the variation diminishing mesh by starting with a bezier mesh (as you current have) and converting to the 2dsb form rather than manipulating the control handles directly. Feel free to ask me questions if you need help.
njh
Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clk... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (2)
-
Jabiertxo Arraiza Cenoz
-
Nathan Hurst