Feedback needed: Fallback for 'arc's line join.
Hi,
The currently specified fallback for the 'arcs' line join is a 'miter' join. It has be noted that this is not a very good fallback. I've implemented three different alternative fallback strategies in trunk as part of the 'Join Type' LPE in trunk. The SVG WG has agreed to change the fallback to one of these depending on user input. Here is your chance to help influence the SVG 2 specification!
For a quick introduction, see:
http://tavmjong.free.fr/SVG/LINEJOIN_STUDY/#arcs
To test:
1. Create a path with a number of corner nodes. 2. Open the LPE dialog (Path->Path Effects, CTRL-SHIFT-7) 3. Click on the '+' button, select 'Join Type', and click the 'Add' button. 4. Increase the 'Line width' to some number (~20 to ~100) 5. Select the various "Extrapolated arc" 'Join' types. 6. Move the handles around and observe the line join shape.
Note: There are a number of bugs, for example, setting the Miter limit doesn't always work. Also, if the radius of curvature of the path is very small you might get strange artifacts. For this exercise, please ignore these.
Thanks,
Tav
Hi Tav. Great work!
I try to implement it time ago and i couldent finaly do.
To me the best options are the alt1 and alt2, not see any diference enoght important to use one over other.
Any way in some situations the alt2 show a shorter and looks better fallback than alt1.
One thing more, is posibol flatten the path result to no overlaping? I think this could be done at this step and improve a lot the speed in the LPE Offset.
Cheers, Jabier.
El lun, 15-02-2016 a las 11:23 +0100, Tavmjong Bah escribió:
Hi,
The currently specified fallback for the 'arcs' line join is a 'miter' join. It has be noted that this is not a very good fallback. I've implemented three different alternative fallback strategies in trunk as part of the 'Join Type' LPE in trunk. The SVG WG has agreed to change the fallback to one of these depending on user input. Here is your chance to help influence the SVG 2 specification!
For a quick introduction, see:
http://tavmjong.free.fr/SVG/LINEJOIN_STUDY/#arcs
To test:
- Create a path with a number of corner nodes.
- Open the LPE dialog (Path->Path Effects, CTRL-SHIFT-7)
- Click on the '+' button, select 'Join Type', and click the 'Add'
button. 4. Increase the 'Line width' to some number (~20 to ~100) 5. Select the various "Extrapolated arc" 'Join' types. 6. Move the handles around and observe the line join shape.
Note: There are a number of bugs, for example, setting the Miter limit doesn't always work. Also, if the radius of curvature of the path is very small you might get strange artifacts. For this exercise, please ignore these.
Thanks,
Tav
Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Hi Tav,
do users that are not able to compile Inkscape also have the chance to try it out and provide feedback?
Sebastian
On 15 February 2016 at 11:23, Tavmjong Bah <tavmjong@...8...> wrote:
Hi,
The currently specified fallback for the 'arcs' line join is a 'miter' join. It has be noted that this is not a very good fallback. I've implemented three different alternative fallback strategies in trunk as part of the 'Join Type' LPE in trunk. The SVG WG has agreed to change the fallback to one of these depending on user input. Here is your chance to help influence the SVG 2 specification!
For a quick introduction, see:
http://tavmjong.free.fr/SVG/LINEJOIN_STUDY/#arcs
To test:
- Create a path with a number of corner nodes.
- Open the LPE dialog (Path->Path Effects, CTRL-SHIFT-7)
- Click on the '+' button, select 'Join Type', and click the 'Add'
button. 4. Increase the 'Line width' to some number (~20 to ~100) 5. Select the various "Extrapolated arc" 'Join' types. 6. Move the handles around and observe the line join shape.
Note: There are a number of bugs, for example, setting the Miter limit doesn't always work. Also, if the radius of curvature of the path is very small you might get strange artifacts. For this exercise, please ignore these.
Thanks,
Tav
Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Tue, 2016-02-16 at 07:12 +0100, Sebastian Zartner wrote:
Hi Tav,
do users that are not able to compile Inkscape also have the chance to try it out and provide feedback?
Have a look at the bottom of:
https://inkscape.org/en/download/
I've never tried these myself...
Tav
Sebastian
On 15 February 2016 at 11:23, Tavmjong Bah <tavmjong@...8...> wrote:
Hi,
The currently specified fallback for the 'arcs' line join is a 'miter' join. It has be noted that this is not a very good fallback. I've implemented three different alternative fallback strategies in trunk as part of the 'Join Type' LPE in trunk. The SVG WG has agreed to change the fallback to one of these depending on user input. Here is your chance to help influence the SVG 2 specification!
For a quick introduction, see:
http://tavmjong.free.fr/SVG/LINEJOIN_STUDY/#arcs
To test:
- Create a path with a number of corner nodes.
- Open the LPE dialog (Path->Path Effects, CTRL-SHIFT-7)
- Click on the '+' button, select 'Join Type', and click the 'Add'
button. 4. Increase the 'Line width' to some number (~20 to ~100) 5. Select the various "Extrapolated arc" 'Join' types. 6. Move the handles around and observe the line join shape.
Note: There are a number of bugs, for example, setting the Miter limit doesn't always work. Also, if the radius of curvature of the path is very small you might get strange artifacts. For this exercise, please ignore these.
Thanks,
Tav
I should have been more precise:
I am using Windows. Though the last Windows build is from the 3rd of February[1] and therefore doesn't contain your changes. Setting up a development environment to compile it myself is (at least for now) not an option.
Sebastian
[1] http://download.tuxfamily.org/inkscape/
On 16 February 2016 at 09:10, Tavmjong Bah <tavmjong@...8...> wrote:
On Tue, 2016-02-16 at 07:12 +0100, Sebastian Zartner wrote:
Hi Tav,
do users that are not able to compile Inkscape also have the chance to try it out and provide feedback?
Have a look at the bottom of:
https://inkscape.org/en/download/
I've never tried these myself...
Tav
Sebastian
On 15 February 2016 at 11:23, Tavmjong Bah <tavmjong@...8...> wrote:
Hi,
The currently specified fallback for the 'arcs' line join is a 'miter' join. It has be noted that this is not a very good fallback. I've implemented three different alternative fallback strategies in trunk as part of the 'Join Type' LPE in trunk. The SVG WG has agreed to change the fallback to one of these depending on user input. Here is your chance to help influence the SVG 2 specification!
For a quick introduction, see:
http://tavmjong.free.fr/SVG/LINEJOIN_STUDY/#arcs
To test:
- Create a path with a number of corner nodes.
- Open the LPE dialog (Path->Path Effects, CTRL-SHIFT-7)
- Click on the '+' button, select 'Join Type', and click the 'Add'
button. 4. Increase the 'Line width' to some number (~20 to ~100) 5. Select the various "Extrapolated arc" 'Join' types. 6. Move the handles around and observe the line join shape.
Note: There are a number of bugs, for example, setting the Miter limit doesn't always work. Also, if the radius of curvature of the path is very small you might get strange artifacts. For this exercise, please ignore these.
Thanks,
Tav
I just made a build of revision 14657.
You can find it at https://drive.google.com/folderview?id=0B3IZiqBj23X1eG5JeVBaSFFTanM&tid=...
Regards, Eduard
Am 16.02.2016 um 13:01 schrieb Sebastian Zartner:
I should have been more precise:
I am using Windows. Though the last Windows build is from the 3rd of February[1] and therefore doesn't contain your changes. Setting up a development environment to compile it myself is (at least for now) not an option.
Sebastian
[1] http://download.tuxfamily.org/inkscape/
On 16 February 2016 at 09:10, Tavmjong Bah <tavmjong@...8... mailto:tavmjong@...8...> wrote:
On Tue, 2016-02-16 at 07:12 +0100, Sebastian Zartner wrote: > Hi Tav, > > do users that are not able to compile Inkscape also have the chance > to try it out and provide feedback? Have a look at the bottom of: https://inkscape.org/en/download/ I've never tried these myself... Tav > Sebastian > > On 15 February 2016 at 11:23, Tavmjong Bah <tavmjong@...8... <mailto:tavmjong@...8...>> wrote: > > > > Hi, > > > > The currently specified fallback for the 'arcs' line join is a > > 'miter' > > join. It has be noted that this is not a very good fallback. I've > > implemented three different alternative fallback strategies in > > trunk as > > part of the 'Join Type' LPE in trunk. The SVG WG has agreed to > > change > > the fallback to one of these depending on user input. Here is your > > chance to help influence the SVG 2 specification! > > > > For a quick introduction, see: > > > > http://tavmjong.free.fr/SVG/LINEJOIN_STUDY/#arcs > > > > > > To test: > > > > 1. Create a path with a number of corner nodes. > > 2. Open the LPE dialog (Path->Path Effects, CTRL-SHIFT-7) > > 3. Click on the '+' button, select 'Join Type', and click the 'Add' > > button. > > 4. Increase the 'Line width' to some number (~20 to ~100) > > 5. Select the various "Extrapolated arc" 'Join' types. > > 6. Move the handles around and observe the line join shape. > > > > Note: There are a number of bugs, for example, setting the Miter > > limit > > doesn't always work. Also, if the radius of curvature of the path > > is > > very small you might get strange artifacts. For this exercise, > > please > > ignore these. > > > > Thanks, > > > > Tav
Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Thank you Eduard for the build!
Testing a little bit, for me alt2 (i.e. adjusting both arcs) slightly wins over alt1 (only adjusting the smaller arc), because to me it makes more sense if both arcs are taken into account instead of just one. Especially in regard of animations (as in Tav's examples) it is important to not have abrupt changes in the outlines of the stroke. So, alt 3 is definitely out of contention (as well as the current miter fallback behavior).
I want to note that you missed the option to only increase the curvature of the larger arc. Could we get an example for that, too?
Sebastian
On 16 February 2016 at 21:35, Eduard Braun <Eduard.Braun2@...173...> wrote:
I just made a build of revision 14657.
You can find it at
https://drive.google.com/folderview?id=0B3IZiqBj23X1eG5JeVBaSFFTanM&tid=...
Regards, Eduard
Am 16.02.2016 um 13:01 schrieb Sebastian Zartner:
I should have been more precise:
I am using Windows. Though the last Windows build is from the 3rd of February[1] and therefore doesn't contain your changes. Setting up a development environment to compile it myself is (at least for now) not an option.
Sebastian
[1] http://download.tuxfamily.org/inkscape/
On 16 February 2016 at 09:10, Tavmjong Bah <tavmjong@...8...> wrote:
On Tue, 2016-02-16 at 07:12 +0100, Sebastian Zartner wrote:
Hi Tav,
do users that are not able to compile Inkscape also have the chance to try it out and provide feedback?
Have a look at the bottom of:
https://inkscape.org/en/download/
I've never tried these myself...
Tav
Sebastian
On 15 February 2016 at 11:23, Tavmjong Bah < <tavmjong@...8...>
tavmjong@...8...> wrote:
Hi,
The currently specified fallback for the 'arcs' line join is a 'miter' join. It has be noted that this is not a very good fallback. I've implemented three different alternative fallback strategies in trunk as part of the 'Join Type' LPE in trunk. The SVG WG has agreed to change the fallback to one of these depending on user input. Here is your chance to help influence the SVG 2 specification!
For a quick introduction, see:
http://tavmjong.free.fr/SVG/LINEJOIN_STUDY/#arcs
To test:
- Create a path with a number of corner nodes.
- Open the LPE dialog (Path->Path Effects, CTRL-SHIFT-7)
- Click on the '+' button, select 'Join Type', and click the 'Add'
button. 4. Increase the 'Line width' to some number (~20 to ~100) 5. Select the various "Extrapolated arc" 'Join' types. 6. Move the handles around and observe the line join shape.
Note: There are a number of bugs, for example, setting the Miter limit doesn't always work. Also, if the radius of curvature of the path is very small you might get strange artifacts. For this exercise, please ignore these.
Thanks,
Tav
Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now!http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
Inkscape-devel mailing listInkscape-devel@...1901...://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (4)
-
Eduard Braun
-
Jabier Arraiza
-
Sebastian Zartner
-
Tavmjong Bah