POV-Ray : Newsgroups : povray.general : a note about using Output_Alpha : a note about using Output_Alpha Server Time
23 Feb 2024 07:31:22 EST (-0500)
  a note about using Output_Alpha  
From: Kenneth
Date: 12 Feb 2023 09:25:00
Message: <web.63e8f56a640da1fb9b4924336e066e29@news.povray.org>
The documentation at Output File Type   says,
"Note: In version 3.7 alpha handling for image file OUTPUT has changed.
Effectively, the background *now requires* a filter or transmit value in order
for alpha transparency to work properly...The philosophy of the alpha channel
feature in POV-Ray is that the background color should not be present in the
color of the image when the alpha channel is used..."

So even for quick tests of using Output_Alpha (or +ua) to make a .png
alpha-channel render, I have always dutifully added at least a
background{rgbt 1} statement to a scene-- because I thought at least *something*
was required there.

But if there is no background *at all* in a scene, Output_Alpha can be used by
itself and still work correctly. Duh.

I must have been mis-reading the docs all this time...although the 'requirement'
statement is a bit misleading, IMO. Or a little tidbit of clarifying info was

You would think that, at *sometime* in the past, I would have made a mistake
writing even a simple scene and discovered this little fact by chance. But no.

Anyway, I learned something new...today!

Post a reply to this message

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