Re: active gradient suggestion

2000-02-20 Thread Tom Rathborne

On Mon, Feb 21, 2000 at 10:19:11AM +0800, Ian McKellar wrote:
> On Sat, Feb 19, 2000 at 03:31:25PM -0500, Zach Beane - MINT wrote:
> > It's a little confusing to me sometimes to use the gradient tool,
> > thinking the gradient at the bottom of the toolbar will be used,
> > and finding out that it's actually using the FG-BG colors (or vice
> > versa). I do know how to change it, but sometimes I forget which
> > is in effect.
> 
> What about having special "FG" and "BG" colours in the gradient
> editor, so we could have standard fg->bg and bg->fg gradients, but
> we could also have fg->black or fg->white->blue->bg or whatever.
> Wouldn't this be a more general and flexible solution?

Yes, but you haven't gone far enough.

Each colour at a gradient node should be customizable through an
expression language (like in MathMap), so instead of gradients like
'Tube_Red', there would just be 'Tube'. The highlight for 'Tube' could
be 'hsv(fg.h,sqr(fg.s),sqrt(fg.v))', the shadow edge could be
'rgb(fg.r/2,fg.g/2,fg.b/2)', and the deepest shadow could be 'bg'.
Then you set the FG and BG colour and get a tube gradient based on
those two colours.

(Note that my sample expressions think of colour value on the range
0.0-1.0 so sqr() makes a value smaller and sqrt() makes it bigger.)

Just an idea :)

Tom

-- 
--Tom Rathborne[EMAIL PROTECTED]
-- http://www.aceldama.com/~tomr/
--"I seem to be having tremendous difficulty with my life-style."



Re: active gradient suggestion

2000-02-20 Thread Ian McKellar

On Sat, Feb 19, 2000 at 03:31:25PM -0500, Zach Beane - MINT wrote:
> It's a little confusing to me sometimes to use the gradient tool, thinking
> the gradient at the bottom of the toolbar will be used, and finding out that
> it's actually using the FG-BG colors (or vice versa). I do know how to
> change it, but sometimes I forget which is in effect.
> 
What about having special "FG" and "BG" colours in the gradient editor, so 
we could have standard fg->bg and bg->fg gradients, but we could also have
fg->black or fg->white->blue->bg or whatever. Wouldn't this be a more general
and flexible solution?

Ian



Re: active gradient suggestion

2000-02-20 Thread Zach Beane - MINT

On Sat, Feb 19, 2000 at 10:04:05PM +0100, Sven Neumann wrote:
[snip]
> 
> Come on guys. This idea is not new and the only reason it's not yet 
> implemented is the feature freeze. Read the list we created last August 
> at the Chaos Communication Camp...

Perhaps it's time to make the TODO file a more comprehensive list of items
that are planned for post-1.2...

Zach
-- 
Zachary Beane   [EMAIL PROTECTED]
PGP mail welcome.   http://www.xach.com/pgpkey.txt



Re: active gradient suggestion

2000-02-20 Thread Sven Neumann

> > > Maybe best would be to have a magic entry in the gradient editor
> > > "FG->BG" and "BG->FG" which would change accordingly, and remove the
> > > selection from the gradient tool.

Even better: have a reverse gradient toggle so that all gradients can 
be easily reversed...

Before anyone starts to hack on this, you should know that people have 
already failed to do so and only nearly escaped getting totally mad. 
There is no use to waste another minute on the gradients before the 
gradient has become a real GtkObject. The interdependancies between
gradient_selector, gradient_editor, gimp_context, indicator_area, 
device_status and the blend_tool are one of the worst areas in the 
gimp-core. This could and should be solved by making the gradient a 
proper object with the ability to emit signals. But I fear it's too
late to do that now.


Salut, Sven











Re: active gradient suggestion

2000-02-20 Thread Jens Lautenbacher

Seth Burgess <[EMAIL PROTECTED]> writes:

> > Maybe best would be to have a magic entry in the gradient editor
> > "FG->BG" and "BG->FG" which would change accordingly, and remove the
> > selection from the gradient tool.
> > 
> > jtl
> 
> Make that the gradient selector rather than the editor, and I'll agree with you 
>completely :)

Sure... brain typo :-)



Re: active gradient suggestion

2000-02-19 Thread Zach Beane - MINT

On Sat, Feb 19, 2000 at 10:04:05PM +0100, Sven Neumann wrote:
[snip]
> 
> Come on guys. This idea is not new and the only reason it's not yet 
> implemented is the feature freeze. Read the list we created last August 
> at the Chaos Communication Camp...

What's the URL? I looked at http://sven.gimp.org/camp/ but didn't find it...

Zach
-- 
Zachary Beane   [EMAIL PROTECTED]
PGP mail welcome.   http://www.xach.com/pgpkey.txt



Re: active gradient suggestion

2000-02-19 Thread Sven Neumann

> It's a little confusing to me sometimes to use the gradient tool, thinking
> the gradient at the bottom of the toolbar will be used, and finding out that
> it's actually using the FG-BG colors (or vice versa). I do know how to
> change it, but sometimes I forget which is in effect.
> 
> It would be nice if there was a magic option in the gradient selection list
> called something like "[FG-BG colors]" that automatically showed a thumbnail
> of what the bg/fg colors would look like as a gradient. When it's selected,
> it would also display in the bottom of the toolbar, and dynamically update
> when the colors change.
> 
> That way, no matter what gradient method is selected, the indicator at the
> bottom of the toolbar will always show you what colors you'll see when you
> make a gradient, independant of whether you're using a pre-set gradient or a
> bg-fg color gradient.
> 
> This is just a suggestion, and not a demand for immediate action.

Come on guys. This idea is not new and the only reason it's not yet 
implemented is the feature freeze. Read the list we created last August 
at the Chaos Communication Camp...


Salut, Sven




Re: active gradient suggestion

2000-02-19 Thread Seth Burgess

> Maybe best would be to have a magic entry in the gradient editor
> "FG->BG" and "BG->FG" which would change accordingly, and remove the
> selection from the gradient tool.
> 
> jtl

Make that the gradient selector rather than the editor, and I'll agree with you 
completely :)

Seth



Re: active gradient suggestion

2000-02-19 Thread Jens Lautenbacher

Zach Beane - MINT <[EMAIL PROTECTED]> writes:

> It's a little confusing to me sometimes to use the gradient tool, thinking
> the gradient at the bottom of the toolbar will be used, and finding out that
> it's actually using the FG-BG colors (or vice versa). I do know how to
> change it, but sometimes I forget which is in effect.
> 
> It would be nice if there was a magic option in the gradient selection list
> called something like "[FG-BG colors]" that automatically showed a thumbnail
> of what the bg/fg colors would look like as a gradient. When it's selected,
> it would also display in the bottom of the toolbar, and dynamically update
> when the colors change.
> 
> That way, no matter what gradient method is selected, the indicator at the
> bottom of the toolbar will always show you what colors you'll see when you
> make a gradient, independant of whether you're using a pre-set gradient or a
> bg-fg color gradient.
> 
> This is just a suggestion, and not a demand for immediate action.
> 
> Zach

Maybe best would be to have a magic entry in the gradient editor
"FG->BG" and "BG->FG" which would change accordingly, and remove the
selection from the gradient tool.

jtl



active gradient suggestion

2000-02-19 Thread Zach Beane - MINT

It's a little confusing to me sometimes to use the gradient tool, thinking
the gradient at the bottom of the toolbar will be used, and finding out that
it's actually using the FG-BG colors (or vice versa). I do know how to
change it, but sometimes I forget which is in effect.

It would be nice if there was a magic option in the gradient selection list
called something like "[FG-BG colors]" that automatically showed a thumbnail
of what the bg/fg colors would look like as a gradient. When it's selected,
it would also display in the bottom of the toolbar, and dynamically update
when the colors change.

That way, no matter what gradient method is selected, the indicator at the
bottom of the toolbar will always show you what colors you'll see when you
make a gradient, independant of whether you're using a pre-set gradient or a
bg-fg color gradient.

This is just a suggestion, and not a demand for immediate action.

Zach
-- 
Zachary Beane   [EMAIL PROTECTED]
PGP mail welcome.   http://www.xach.com/pgpkey.txt