RSS/Atom feed Twitter
Site is read-only, email is disabled

Warp transform Abyss policy

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

10 of 10 messages available
Toggle history

Please log in to manage your subscriptions.

Warp transform Abyss policy Julien Hardelin 13 Jun 16:39
  Warp transform Abyss policy Ell via gimp-developer-list 13 Jun 20:06
   Warp transform Abyss policy Julien Hardelin 14 Jun 05:28
   Warp transform Abyss policy Marco Ciampa via gimp-developer-list 14 Jun 05:44
    Warp transform Abyss policy Julien Hardelin 14 Jun 05:52
     Warp transform Abyss policy Marco Ciampa via gimp-developer-list 14 Jun 06:15
    Warp transform Abyss policy Ell via gimp-developer-list 14 Jun 11:01
     Warp transform Abyss policy Marco Ciampa via gimp-developer-list 14 Jun 19:40
      Warp transform Abyss policy Ell via gimp-developer-list 15 Jun 14:01
       Warp transform Abyss policy Marco Ciampa via gimp-developer-list 15 Jun 14:20
Julien Hardelin
2017-06-13 16:39:39 UTC (almost 7 years ago)

Warp transform Abyss policy

Hello developers,

I am writing gimp-help-2 doc for warp transform tool and I have difficulty with "Abyss policy". I read the wiki/glossary for these items but did not understand what they do.

How to explain these features to users?

Julien Hardelin

-

Ell via gimp-developer-list
2017-06-13 20:06:09 UTC (almost 7 years ago)

Warp transform Abyss policy

On Tue, 13 Jun 2017 18:39:39 +0200 Julien Hardelin wrote:

Hello developers,

I am writing gimp-help-2 doc for warp transform tool and I have difficulty with "Abyss policy". I read the wiki/glossary for these items but did not understand what they do.

How to explain these features to users?

Granted, the abyss policy option is a bit on the technical side.

The warp tool moves pixels from one point to another. Some pixels may come from outside the layer boundary. These pixels don't actually exist anywhere, and therefore don't have any associated color; yet, we must assign *some* color to them. The abyss policy specifies how to determine their color:

- None: Assume that all pixels outside the layer boundary are transparent.

- Clamp: Assume that each edge of the layer stretches out indefinitely, so, for example, a pixel to the left of the layer boundary has the same color as the leftmost pixel of the layer with the same y coordinate. An alternative way to think of it is that each pixel outside the layer boundary has the same color as the closest pixel inside the layer boundary.

- Loop: Assume that the layer repeats itself in all directions, so that, for example, falling off the right edge of the layer takes you back to the left edge.

And here's a quick comparison of the three modes: http://i.imgur.com/R5RKkLF.gif

You'll find an abyss policy option in some of the filters as well, with a similar function. In filters, there are additional "black" and "white" modes, which are similar to "none", but use black and white for out-of-bounds pixels, instead of transparency.

-- Ell

Julien Hardelin
2017-06-14 05:28:29 UTC (almost 7 years ago)

Warp transform Abyss policy

Thank you, Ell, for these clear explanations.

Julien

Marco Ciampa via gimp-developer-list
2017-06-14 05:44:28 UTC (almost 7 years ago)

Warp transform Abyss policy

On Tue, Jun 13, 2017 at 04:06:09PM -0400, Ell via gimp-developer-list wrote:

On Tue, 13 Jun 2017 18:39:39 +0200 Julien Hardelin wrote:

Hello developers,

I am writing gimp-help-2 doc for warp transform tool and I have difficulty with "Abyss policy". I read the wiki/glossary for these items but did not understand what they do.

How to explain these features to users?

Granted, the abyss policy option is a bit on the technical side.

The warp tool moves pixels from one point to another. Some pixels may come from outside the layer boundary. These pixels don't actually exist anywhere, and therefore don't have any associated color; yet, we must assign *some* color to them. The abyss policy specifies how to determine their color:

- None: Assume that all pixels outside the layer boundary are transparent.

- Clamp: Assume that each edge of the layer stretches out indefinitely, so, for example, a pixel to the left of the layer boundary has the same color as the leftmost pixel of the layer with the same y coordinate. An alternative way to think of it is that each pixel outside the layer boundary has the same color as the closest pixel inside the layer boundary.

- Loop: Assume that the layer repeats itself in all directions, so that, for example, falling off the right edge of the layer takes you back to the left edge.

And here's a quick comparison of the three modes: http://i.imgur.com/R5RKkLF.gif

You'll find an abyss policy option in some of the filters as well, with a similar function. In filters, there are additional "black" and "white" modes, which are similar to "none", but use black and white for out-of-bounds pixels, instead of transparency.

Veeery interesting indeed Ell! And also very clear! Do you know exactly which tools share this same option?

Your example seems to come from the whirl-pinch distortion filter but I do not see any abyss option in the filter option dialog... even in any other filter option dialog... am I looking in the wrong place?

PS: also I see that in the warp tool the Abyss options remains translated in my system language (Italian) even if I set the gimp language to English... here and there there are some other translated particulars like 4 controls in the render->patterns->checkboard filter, tooltips, keyboard accelerators...small bug?

TIA

Marco Ciampa

I know a joke about UDP, but you might not get it.

------------------------

 GNU/Linux User #78271
 FSFE fellow #364

------------------------
Julien Hardelin
2017-06-14 05:52:22 UTC (almost 7 years ago)

Warp transform Abyss policy

I have the same problem in several tools: with GIMP in the en-US language, some tool options are in French.

Julien

PS: also I see that in the warp tool the Abyss options remains translated

in my system language (Italian) even if I set the gimp language to English... here and there there are some other translated particulars like 4 controls in the render->patterns->checkboard filter, tooltips, keyboard accelerators...small bug?

TIA

Marco Ciampa via gimp-developer-list
2017-06-14 06:15:42 UTC (almost 7 years ago)

Warp transform Abyss policy

On Wed, Jun 14, 2017 at 07:52:22AM +0200, Julien Hardelin wrote:

I have the same problem in several tools: with GIMP in the en-US language, some tool options are in French.

The only way to do it right (and changes other things like icon appearances...) is doing a:

export LANGUAGE=en_US; gimp

Regards,

--

Marco Ciampa

I know a joke about UDP, but you might not get it.

------------------------

GNU/Linux User #78271 FSFE fellow #364

------------------------

Ell via gimp-developer-list
2017-06-14 11:01:10 UTC (almost 7 years ago)

Warp transform Abyss policy

On Wed, 14 Jun 2017 07:44:28 +0200 Marco Ciampa via gimp-developer-list wrote:

Veeery interesting indeed Ell! And also very clear! Do you know exactly which tools share this same option?

Warp is the only tool that has an abyss policy option, IIRC. As for filters, convolution matrix, displace, edge, fractal trace, and Gaussian blur all have this option, although some of them call it "border" or "border behavior" instead. Bump map, ripple, and waves also have a toggle that switches between two of the abyss policy modes, although they call it "clamp", or "tiled/tileable".

Your example seems to come from the whirl-pinch distortion filter but I do not see any abyss option in the filter option dialog... even in any other filter option dialog... am I looking in the wrong place?

The example uses the warp tool, of course :) It is in swirl mode, though, as you guessed. The whirl/pinch filter indeed lacks this option.

PS: also I see that in the warp tool the Abyss options remains translated in my system language (Italian) even if I set the gimp language to English... here and there there are some other translated particulars like 4 controls in the render->patterns->checkboard filter, tooltips, keyboard accelerators...small bug?

The text for the abyss policy items comes from GEGL. It seems that switching the language in the preferences only affects GIMP text, and not GEGL. We should probably fix that, since it affects all the GEGL filters.

--
Ell

Marco Ciampa via gimp-developer-list
2017-06-14 19:40:39 UTC (almost 7 years ago)

Warp transform Abyss policy

On Wed, Jun 14, 2017 at 07:01:10AM -0400, Ell wrote:

On Wed, 14 Jun 2017 07:44:28 +0200 Marco Ciampa via gimp-developer-list wrote:

Veeery interesting indeed Ell! And also very clear! Do you know exactly which tools share this same option?

Warp is the only tool that has an abyss policy option, IIRC. As for filters, convolution matrix, displace, edge, fractal trace, and Gaussian blur all have this option, although some of them call it "border" or "border behavior" instead. Bump map, ripple, and waves also have a toggle that switches between two of the abyss policy modes, although they call it "clamp", or "tiled/tileable".

Ok probably a more coherent choice for a label for all these tools would be a good idea...

Your example seems to come from the whirl-pinch distortion filter but I do not see any abyss option in the filter option dialog... even in any other filter option dialog... am I looking in the wrong place?

The example uses the warp tool, of course :) It is in swirl mode, though, as you guessed. The whirl/pinch filter indeed lacks this option.

PS: also I see that in the warp tool the Abyss options remains translated in my system language (Italian) even if I set the gimp language to English... here and there there are some other translated particulars like 4 controls in the render->patterns->checkboard filter, tooltips, keyboard accelerators...small bug?

The text for the abyss policy items comes from GEGL. It seems that switching the language in the preferences only affects GIMP text, and not GEGL. We should probably fix that, since it affects all the GEGL filters.

Very good catch!

Now you said it I see that all the untranslated operations are GEGL... :-)

Marco Ciampa

I know a joke about UDP, but you might not get it.

------------------------

 GNU/Linux User #78271
 FSFE fellow #364

------------------------
Ell via gimp-developer-list
2017-06-15 14:01:49 UTC (almost 7 years ago)

Warp transform Abyss policy

On Wed, 14 Jun 2017 21:40:39 +0200 Marco Ciampa via gimp-developer-list wrote:

On Wed, Jun 14, 2017 at 07:01:10AM -0400, Ell wrote:

On Wed, 14 Jun 2017 07:44:28 +0200 Marco Ciampa via gimp-developer-list wrote:

Veeery interesting indeed Ell! And also very clear! Do you know exactly which tools share this same option?

Warp is the only tool that has an abyss policy option, IIRC. As for filters, convolution matrix, displace, edge, fractal trace, and Gaussian blur all have this option, although some of them call it "border" or "border behavior" instead. Bump map, ripple, and waves also have a toggle that switches between two of the abyss policy modes, although they call it "clamp", or "tiled/tileable".

Ok probably a more coherent choice for a label for all these tools would be a good idea...

There are other similar inconsistencies across the different filters. It would be nice if we made sure they're better aligned before 2.10.

PS: also I see that in the warp tool the Abyss options remains translated in my system language (Italian) even if I set the gimp language to English... here and there there are some other translated particulars like 4 controls in the render->patterns->checkboard filter, tooltips, keyboard accelerators...small bug?

The text for the abyss policy items comes from GEGL. It seems that switching the language in the preferences only affects GIMP text, and not GEGL. We should probably fix that, since it affects all the GEGL filters.

Very good catch!

Now you said it I see that all the untranslated operations are GEGL... :-)

Aaaand... fixed in master. Commit d37fb8aa5c915b57d07da2f2e48fac36e75e7a64.

-- Ell

Marco Ciampa via gimp-developer-list
2017-06-15 14:20:27 UTC (almost 7 years ago)

Warp transform Abyss policy

On Thu, Jun 15, 2017 at 10:01:49AM -0400, Ell wrote:

There are other similar inconsistencies across the different filters. It would be nice if we made sure they're better aligned before 2.10.

yes, definitely!

Aaaand... fixed in master. Commit d37fb8aa5c915b57d07da2f2e48fac36e75e7a64.

Said and done like a wizard, great! :-)

Marco Ciampa

I know a joke about UDP, but you might not get it.

------------------------

 GNU/Linux User #78271
 FSFE fellow #364

------------------------