POV-Ray : Newsgroups : povray.bugreports : +UA acting unexpectedly,Windows POV 3.6 : Re: +UA acting unexpectedly,Windows POV 3.6 Server Time
3 May 2024 16:37:15 EDT (-0400)
  Re: +UA acting unexpectedly,Windows POV 3.6  
From: Scott M
Date: 1 Mar 2011 00:15:00
Message: <web.4d6c809915484064710071480@news.povray.org>
"Scott M" <nomail@nomail> wrote:

> I really, really need .bmps with transparency. I'll try my luck with 3.7

OK, 3.7 installed. Much good news, some bad news.

No more corruption of my images with mysterious black bands. Goodness reigns.

The .bmp file reports a color depth of 32 bits when I specify S +UA. More
goodness.

But it's not a proper .bmp, at least according to the sources at
http://en.wikipedia.org/wiki/BMP_file_format

To contain transparency, you are supposed to move up to the 108 byte header, and
specify the masks for red, green, blue and alpha. Without those masks, there's
no way to tell which bits represent which colors. I'm willing to bet there's
code out there that assumes it must be 8.8.8.8.0 if there's no masks present, so
probably many tools will work with these .bmps anyway, but that doesn't make it
right.


Still.. I can work with this. Many thanks.


Post a reply to this message

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