POV-Ray : Newsgroups : povray.general : Summary of pattern requirements? : Re: Summary of pattern requirements? Server Time
9 Aug 2024 03:21:52 EDT (-0400)
  Re: Summary of pattern requirements?  
From: Ron Parker
Date: 25 Aug 2000 14:29:45
Message: <slrn8qdfiq.33g.ron.parker@fwi.com>
On Fri, 25 Aug 2000 13:59:36 -0400, Chuck Roberts wrote:
>Does anyone have a summary of the pattern requirements for
>pigments? For example, the gradient pattern as a pigment needs at
>least 2 colors as a color_map. 

No it doesn't.  It has a default color_map, if one is unspecified,
and if you specify one with only one color you just get a solid color.

>I am also looking for pattern requirements for normal patterns.
>For example, when using gradient as a normal pattern, you need to
>specify an axis, and the amount of the normal, so the normal
>would look like this: 
>	normal {gradient x .764 
>		color_map {...}
>		}

I'm not sure color_map is valid in a normal...

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

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