POV-Ray : Newsgroups : povray.newusers : Color gradient??? Server Time
23 Dec 2024 22:34:47 EST (-0500)
  Color gradient??? (Message 1 to 3 of 3)  
From: Patrick Hagerty
Subject: Color gradient???
Date: 9 Jan 1999 18:52:50
Message: <3697EC59.DFDC2387@hagware.com>
Your assistance will be appreciated.

I want to color an object with one color shading into another, gradient
style.  Any ideas on how I might do that?

Thanks,
Patrick Hagerty
pat### [at] hagwarecom


Post a reply to this message

From: Ken
Subject: Re: Color gradient???
Date: 9 Jan 1999 19:05:35
Message: <3697EE57.7BFC9449@pacbell.net>
Patrick Hagerty wrote:

> Your assistance will be appreciated.
>
> I want to color an object with one color shading into another, gradient
> style.  Any ideas on how I might do that?
>
> Thanks,
> Patrick Hagerty
> pat### [at] hagwarecom

    Sorry if this is an overly obvious answer but you could use the pigment

type gradient along with a color map. For examlpe to have a color that
goes from black to white with shades of gray in between you could try

pigment{
 gradient y
  color_map{[0 rgb 0][1 rgb 1]}}

If you needed something else be a little more specific and an answer
will be forthcoming.

Ken Tyler


Post a reply to this message

From: Patrick Hagerty
Subject: Re: Color gradient???
Date: 9 Jan 1999 22:36:30
Message: <369820CB.ACBEA296@hagware.com>
Overly obvious or not, I didn't think of it.  Thanks for giving me something to
work with.  I'll try it for a while and see if suits my needs.

Patrick Hagerty


Ken wrote:

> Patrick Hagerty wrote:
>
> > Your assistance will be appreciated.
> >
> > I want to color an object with one color shading into another, gradient
> > style.  Any ideas on how I might do that?
> >
> > Thanks,
> > Patrick Hagerty
> > pat### [at] hagwarecom
>
>     Sorry if this is an overly obvious answer but you could use the pigment
>
> type gradient along with a color map. For examlpe to have a color that
> goes from black to white with shades of gray in between you could try
>
> pigment{
>  gradient y
>   color_map{[0 rgb 0][1 rgb 1]}}
>
> If you needed something else be a little more specific and an answer
> will be forthcoming.
>
> Ken Tyler


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.