POV-Ray : Newsgroups : povray.binaries.programming : Coloured attenuation patch. : Coloured attenuation patch. Server Time
14 Aug 2022 13:44:02 EDT (-0400)
  Coloured attenuation patch.  
From: Edward C 
Date: 8 Sep 1999 21:04:19
Message: <37d70793@news.povray.org>
Here is my patch.  It is my first ever release, so if I've messed up, don't
shoot me.  The new keyword is fade_colour, to be used with fade_distance and
fade_power.  fade_colour expects a colour argument (obviously).  Not
specifying fade_colour or specifying a value of <0,0,0> gives the old
attenuation behaviour, a value of <1,1,1> gives no attenuation, actual
colours give coloured attenuation.  Note <1,0,0> looks red, not cyan as in
media.
This patch is too puny to warrant copyright notices, but I'd like credit if
it is used in any other release.


Post a reply to this message


Attachments:
Download 'Att.pat.txt' (12 KB)

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