POV-Ray : Newsgroups : povray.bugreports : TGA Alpha channel : Re: TGA Alpha channel Server Time
25 Apr 2024 08:12:22 EDT (-0400)
  Re: TGA Alpha channel  
From: William F Pokorny
Date: 6 Feb 2021 15:06:51
Message: <601ef6db$1@news.povray.org>
On 2/5/21 7:41 PM, Ton wrote:
> I'm playing with Gilles Tran MakeCloud macro, and the output from tga2df3 didn't
> look like a cloud.
> After some investigation I found that the TGA output file is confused.
> When I use -UA, povray says: makecloud2001.tga, 24 bpp Targa, but the output
> file contains an alpha channel (every fourth byte is 0xFF).
> 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.
> 
> My povray version is POV-Ray 3.8.0-x.10064738.unofficial, and UberPOV 1.37.1.0
> has the same problem.
> 

I believe I see it in my povr branch based off v3.8.

To a quick verification .png output is OK, but .tga files look backward 
to the +UA/-UA control... The reported information looks too at the 
control setting and not at what actually got written.

I'm tired. I'll try and run the issue down tomorrow.

Bill P.


Post a reply to this message

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