POV-Ray : Newsgroups : povray.binaries.programming : Coloured attenuation patch. Server Time
28 Mar 2024 07:32:40 EDT (-0400)
  Coloured attenuation patch. (Message 1 to 1 of 1)  
From: Edward C 
Subject: Coloured attenuation patch.
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-2023 Persistence of Vision Raytracer Pty. Ltd.