[Bf-committers] FreeStyle SVG Exporter hint/light bug

Ivano Da Milano sabscripcions at gmail.com
Wed Jan 3 12:47:14 CET 2018

I see. Honestly, I wouldn't say the thing could be so complex, but I'm not
a developer and so I really don't know.
As for the vertex coloring, maybe I misspelled what I meant: they could go
in a gradient filling the path.

2018-01-03 5:01 GMT+01:00 Tamito KAJIYAMA <rd6t-kjym at asahi-net.or.jp>:

> Hi Ivano,
> The SVG exporter receives a set of strokes from Freestyle and tries to
> generate a set of SVG filled paths.  Hence it's important to tune Freestyle
> parameters so that the generated Freestyle strokes are favorable for the
> exporter to fill the corresponding paths without trouble.  Making sure that
> is in turn up to you who control the Freestyle parameters.
> Freestyle strokes can result in either open or closed SVG paths.  In the
> case of open paths, the SVG exporter is unlikely to be able to generate the
> fills that you might expect.  So, it's artists' responsibility to make sure
> the filled SVG paths will be Freestyle closed stokes (i.e., a stroke ends
> at the beginning of the stoke).  In practice, however, this is not a
> trivial task given the present set of user-tunable Freestyle parameters,
> and that's where Freestyle needs improvements.
> --
> KAJIYAMA, Tamito <rd6t-kjym at asahi-net.or.jp>
> On 2017/12/31 13:36, Ivano Da Milano wrote:
>> Hello everyone.
>> I tried to use FreeStyle SVG exporter with many shapes, edges are always
>> exported right, while fills aren't.
>> I just came with a solution: I guess the SVG Exporter doesn't use the
>> layers concept - not layers as I could mean with eg Gimp, here I mean
>> layers as in Inkscape (send to front/bottom, lower, raise, etc).
>> This could be why if an edge overlaps another the lower edge gets filled
>> weirdly (see here for an example:
>> https://blenderartists.org/forum/showthread.php?415556-FreeS
>> tyle-SVG-Export&p=3154988&viewfull=1#post3154988
>> )
>> But, in Inkscape (as well as any vector graphic editor) the 2 shapes would
>> be 2 different paths, with 2 different fill color (eventually gradient)
>> and, most important, they're filled right.
>> So, I guess the SVG Exporter "flattens" the exported paths to just one,
>> while allowing to draw each shape on its path and arrange the depth
>> correctly would make the difference.
>> Sorry for being so verbose, but I'm not a developer and I don't either
>> know
>> if I'm totally right about this, just wanted to make sure you can
>> understand what I mean.
>> Please, let me know if I've been unclear or if I misunderstood anything,
>> or
>> anything else.
>> Bye, Ivano.
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> https://lists.blender.org/mailman/listinfo/bf-committers
>> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers

More information about the Bf-committers mailing list