POV-Ray : Newsgroups : povray.unofficial.patches : A pattern for each color component : Re: A pattern for each color component Server Time
2 Sep 2024 08:15:29 EDT (-0400)
  Re: A pattern for each color component  
From: Peter Popov
Date: 17 Mar 2000 02:46:27
Message: <uuHROAdW7u43Bf5Adcmh+NsBeW1d@4ax.com>
On Thu, 16 Mar 2000 17:41:59 -0500, Chris Huff
<chr### [at] yahoocom> wrote:

>An "additive" pattern would add the colors/densities/normals/whatever 
>together instead of averaging them together. You could subtract a 
>"channel" by using negative numbers for it. Maybe "multiplicative" would 
>also be good.
>
>It would also be nice to be able to specify the way they are combined by 
>using an isosurface function, but I don't know how this would be 
>specified with the current syntax or how difficult it would be to 
>implement.

#declare R_Bozo=function{pigment{bozo{color_map{[0 Red][1 Black}}}
#declare B_Wood=function{pigment{wood{color_map{[0 Blue][1 Black}}}
#declare G_Agate=function{pigment{agate{color_map{[0 Green][1 Black}}}

sphere
{0,1 pigment{function{R_Bozo(x,y,z)+B_Wood(x,y,z)+G_Agata(x,y,z)}}}

Sorry_my_space_bar_died_gotta_fix_it


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

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