Re: [Gimp-developer] Is an incompatible change to generated brushes acceptable?

2004-08-02 Thread Nathan Carl Summers
On Mon, 2 Aug 2004, Simon Budig wrote:

 Hi all.

 I am currently working on some tweaks to the generated brushes (the
 brushes you can configure interactively). In Gimp CVS you can
 generate brushes like these:
http://www.home.unix-ag.org/simon/files/generated-brushes.png

 Note, that currently the new functionality does not affect existing
 generated brushes. However, when I fiddeled with this stuff I got the
 impression, that the hardness-parameter should be a bit more extendable
 to the soft side of the brush - IMHO hardness 0.0 is not yet soft
 enough.

 I have a patch sitting here, that makes more soft brushes possible, but
 since this patch still maps the range from 0 to 1 the hardness for
 existing generated brushes would effectively be reduced, i.e. existing
 brushes will look softer when loaded with the next release of the GIMP.

 Do you think this is acceptable? Note that the current hardness could
 be reached easily by dragging the slider a bit upwards again.

Is it possible to redo your logic so that the the old hardness scale is
used, but it's possible to have negative hardness?  Alternatively, we
could use a fileformat versioning system to keep backwards compatibilty.

Rockwalrus

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Extrude-filter and lots of triangles

2004-08-02 Thread Nathan Carl Summers
On Mon, 2 Aug 2004, Markus Triska wrote:

 I'm for now using a quick and terrible hack to fill the triangles (see
 attached source if you are curious) and want to ask:  Which method do
 you recommend to fill lots of triangles from within a plug-in? Is there
 a (fast?) Gimp function for this that I can use, maybe capable of
 anti-aliasing?

Well, the quick-and-dirty way of doing it would be to select a triangle
shape and use the GIMP's fill function. :)

I'm afraid I don't see why there is a lack of locality here: each triangle
to be filled indeed has locality.  Of course, if the triangle is
sufficiently small, only one tile needs to be involved.

Perhaps what you are really saying is that the tile cache needs to be
really large to be effective because there is not much between-triangle
locality.

Rockwalrus

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer