POV-Ray : Newsgroups : povray.advanced-users : additive transparency for image_maps? : Re: additive transparency for image_maps? Server Time
5 Jul 2024 14:08:39 EDT (-0400)
  Re: additive transparency for image_maps?  
From: Alain
Date: 13 Dec 2007 10:41:50
Message: <476152be$1@news.povray.org>
Nathan Kopp nous apporta ses lumieres en ce 2007/12/12 20:01:
> stbenge wrote:
>> Hi,
>>
>> Can anyone tell me if there is a way to achieve additive transparency 
>> for images? I'd like to update my 'luminous bloom' file, since the 
>> current version tends to bleed dark colors as well as light ones.
>>
>> A media box works, but it is much too slow. I wish there was an 
>> 'addition' pigment to complement the average pigment.
>>
>> Sam
> 
> Try this:
> 
>   image_map {
>     ...
>     transmit all 0.5
>   }
> 
>   finish {
>     ambient 2.0
>     refraction 2.0
>   }
> 
> The "transmit 0.5" and "refraction 2.0" work together to give you 100% 
> transmittance.  The remaining 50% (left over from the transmit) combines 
> with "ambient 2.0" to give 100% illumination.
> 
> -Nathan
Please note that refraction in the finish block is deprecated and may no longer 
be supported in future versions. It should be moved to the interior block.


-- 
Alain
-------------------------------------------------
WARNING: The consumption of alcohol may make you think you can logically 
converse with members of the opposite sex without spitting.


Post a reply to this message

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