POV-Ray : Newsgroups : povray.general : color problem : Re: color problem Server Time
4 Nov 2024 13:00:53 EST (-0500)
  Re: color problem  
From: Christopher James Huff
Date: 17 Dec 2003 07:17:43
Message: <cjameshuff-A9C606.07174517122003@netplex.aussie.org>
In article <3fdf380d$1@news.povray.org>,
 "Tom Melly" <tom### [at] tomandlucouk> wrote:

> According to the docs (6.1.5.5), the following should be okay, but I get an
> error...
> 
> #declare PigTest = pigment{color <1,1,0> + blue 1}

"blue" isn't a value you can add to a color vector, it is a keyword 
specifying the blue color channel, in the same class as "rgb" or "rgbft".


> Assuming I've done something stupid, will the correct syntax allow me to add a
> filter component to a pigment map?

No. However, you can use the average pattern to combine the old pigment 
with a new, transparent one...just make sure you double the colors in 
both pigments first.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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