POV-Ray : Newsgroups : povray.advanced-users : additive transparency for image_maps? : Re: additive transparency for image_maps? Server Time
5 Jul 2024 14:11:48 EDT (-0400)
  Re: additive transparency for image_maps?  
From: stbenge
Date: 11 Dec 2007 20:23:27
Message: <475f380f@news.povray.org>
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 2003-2023 Persistence of Vision Raytracer Pty. Ltd.