Re: 2-D Gradients

2000-12-08 Thread Marc Lehmann

On Fri, Dec 08, 2000 at 07:49:38AM -0500, "Garry R. Osgood" <[EMAIL PROTECTED]> wrote:
> > What is the Red Book? Where can I find it? What is its ISBN?
> 
> PostScript(r) Language Reference  by Adobe Systems Incorporated
> Paperback - 912 pages 3rd edition Bk & cdr edition (February 26, 1999)
> Addison-Wesley Pub Co; ISBN: 0201379228

Download it here:

http://partners.adobe.com/asn/developer/technotes.html

;)

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: 2-D Gradients

2000-12-08 Thread Jerome Abela

On Fri, Dec 08, 2000 at 07:49:38AM -0500, Garry R. Osgood wrote:
> > What is the Red Book? Where can I find it? What is its ISBN?
> 
> PostScript(r) Language Reference  by Adobe Systems Incorporated
> Paperback - 912 pages 3rd edition Bk & cdr edition (February 26, 1999)
> Addison-Wesley Pub Co; ISBN: 0201379228

It's also available online as a 7Mb PDF file on:
  http://www.adobe.com/print/postscript/pdfs/PLRM.pdf


Jerome.




Re: 2-D Gradients

2000-12-08 Thread Garry R. Osgood

Shlomi Fish wrote:

> On Thu, 7 Dec 2000, Federico Mena Quintero wrote:
>
> > You want PostScript-like tensor gradients.  The new edition of the Red
> > Book describes them nicely.
> >
>
> What is the Red Book? Where can I find it? What is its ISBN?

PostScript(r) Language Reference  by Adobe Systems Incorporated
Paperback - 912 pages 3rd edition Bk & cdr edition (February 26, 1999)
Addison-Wesley Pub Co; ISBN: 0201379228

The "Red Book" is the PostScript bible. (comparable to the "Camel Book" of Perl 
programmers,
but not as much fun to read;)

The first edition of this book had a bright red color; it was accompanied by a design 
book (green cover)
and a user's guide (blue cover).

Be good, be well

Garry




Re: 2-D Gradients

2000-12-07 Thread Shlomi Fish

On Thu, 7 Dec 2000, Federico Mena Quintero wrote:

> Shlomi Fish <[EMAIL PROTECTED]> writes:
> 
> > If anybody is familiar with the Gimp's gradient editting capabilities then
> > he is probably familiar with the state-of-the-art one dimensional (1-D)
> > gradient editting. My problem is that it's only one dimensional and does
> > not allow you to edit a gradient in a plane.
> > 
> > Does anybody know of any methodologies and algorithms for creating a
> > two-dimensional gradient editting. I.e: I will be able to define points
> > and shapes on the plane with colors that correspond to those handles, and
> > then use blending methods between them, so that I'll eventually have a
> > gradient that spreads across the 2-D plane.
> 
> You want PostScript-like tensor gradients.  The new edition of the Red
> Book describes them nicely.
>

What is the Red Book? Where can I find it? What is its ISBN?

Regards,

Shlomi Fish
 
>   Federico
> 



--
Shlomi Fish[EMAIL PROTECTED] 
Home Page: http://t2.technion.ac.il/~shlomif/
Home E-mail:   [EMAIL PROTECTED]

The prefix "God Said" has the extraordinary logical property of 
converting any statement that follows it into a true one.




Re: 2-D Gradients

2000-12-07 Thread Federico Mena Quintero

Shlomi Fish <[EMAIL PROTECTED]> writes:

> If anybody is familiar with the Gimp's gradient editting capabilities then
> he is probably familiar with the state-of-the-art one dimensional (1-D)
> gradient editting. My problem is that it's only one dimensional and does
> not allow you to edit a gradient in a plane.
> 
> Does anybody know of any methodologies and algorithms for creating a
> two-dimensional gradient editting. I.e: I will be able to define points
> and shapes on the plane with colors that correspond to those handles, and
> then use blending methods between them, so that I'll eventually have a
> gradient that spreads across the 2-D plane.

You want PostScript-like tensor gradients.  The new edition of the Red
Book describes them nicely.

  Federico



Re: 2-D Gradients

2000-12-06 Thread Tom Rathborne

Shlomi;

On Wed, Dec 06, 2000 at 11:21:36AM +0200, Shlomi Fish wrote:
> If anybody is familiar with the Gimp's gradient editting
> capabilities then he is probably familiar with the state-of-the-art
> one dimensional (1-D) gradient editting. My problem is that it's
> only one dimensional and does not allow you to edit a gradient in a
> plane.
> 
> Does anybody know of any methodologies and algorithms for creating a
> two-dimensional gradient editting. I.e: I will be able to define
> points and shapes on the plane with colors that correspond to those
> handles, and then use blending methods between them, so that I'll
> eventually have a gradient that spreads across the 2-D plane.
> 
> The question is: how do I do it?
> 
> So, if anybody can enlighten me or point to a reference or link
> about it, please do.

I recommend that you look at swirl.c in xscreensaver:
http://www.jwz.org/xscreensaver/
It makes nice swirly patterns based on the distance/angle of each
pixel from a random set of points. Shouldn't be to hard to add
lines/shapes to the algorithm as there are plenty of good
closest-point-on-shape algorithms out there. An editor for this sort
of gradient, attached to GIMP gradients and all other GIMP goodness,
would be great fun.

Cheers,

Tom

-- 
--   Tom Rathborne [EMAIL PROTECTED] http://www.aceldama.com/~tomr/
--  "It's Like A Warzone, Deep Inside Of Me / When My Mind Becomes My Enemy"
-- -- Praga Khan, "My Mind Is My Enemy"