POV-Ray : Newsgroups : povray.bugreports : TGA Alpha channel : Re: TGA Alpha channel Server Time
19 Apr 2024 17:45:59 EDT (-0400)
  Re: TGA Alpha channel  
From: William F Pokorny
Date: 7 Feb 2021 06:08:33
Message: <601fca31$1@news.povray.org>
On 2/6/21 3:06 PM, William F Pokorny wrote:
> On 2/5/21 7:41 PM, Ton wrote:
...
>> When I use +UA, povray says: makecloud2001.tga, 32 bpp with alpha 
>> Targa, but
>> this time I don't have the alpha channel, and tga2df3 generates a cloud.
>>
...
> 
> I believe I see it in my povr branch based off v3.8.
> 
...
> I'm tired. I'll try and run the issue down tomorrow.
> 

As bugs go, a relatively easy one. :-)

In the file: source/base/image/targa.cpp and the function Write:

bool opaque = options.AlphaIsEnabled();

should be:

bool opaque = !options.AlphaIsEnabled();

Bill P.


Post a reply to this message

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