POV-Ray : Newsgroups : povray.advanced-users : additive transparency for image_maps? : Re: additive transparency for image_maps? Server Time: 24 Jul 2008 13:54:28 GMT
  Re: additive transparency for image_maps?  
From: stbenge
Date: 12 Dec 2007 01:23:27
Christian Froeschlin wrote:
>> I think in the worst case it should be possible using three separate
>> function patterns for RGB and rebuilding the pigment using color_maps
>> and average.
> 
> ok, just tried it and it seems to work. The macro pigment_scale
> below multiplies the color values for arbitrary (non-transparent)
> pigments. Transmit/Filter would need some further effort, but
> I'm inclined to think it would be possible as well.
> 
> In order to additively mix two pigments, it should be enough to
> average them and then scale the result up by a factor of two.

You're first suggestion makes more sense, to add one function to another 
inside a function block. I will give that a try. Thanks :)

Sam


Post a reply to this message

Copyright 1991-2004 POV-Team™