POV-Ray : Newsgroups : povray.newusers : Color gradient??? : Re: Color gradient??? Server Time
3 Oct 2024 19:18:02 EDT (-0400)
  Re: Color gradient???  
From: Patrick Hagerty
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.