POV-Ray : Newsgroups : povray.advanced-users : alpha Server Time
4 Nov 2024 17:30:14 EST (-0500)
  alpha (Message 1 to 2 of 2)  
From: Nobot
Subject: alpha
Date: 14 Jun 1999 20:55:58
Message: <3765A452.3DC8C960@powersurfr.com>
i've never gotten anything to ouput to the alpha chan any one wanna help
me did i miss somthing? what would normaly be there?


Post a reply to this message

From: Peter Popov
Subject: Re: alpha
Date: 15 Jun 1999 00:14:59
Message: <3767cf7d.37389321@news.povray.org>
On Mon, 14 Jun 1999 18:54:43 -0600, Nobot <vip### [at] powersurfrcom>
wrote:

>i've never gotten anything to ouput to the alpha chan any one wanna help
>me did i miss somthing? what would normaly be there?

The alpha channel stores transparency. In POV, it is white where there
are objects and black where there are not, anti-aliased if need be.
The alpha channes is used in paint / anim programs as a mask or
selection to make blending images easier. If you have your scene but
think it could use a better background, you can do this in a paint
program.

To turn alpha channel on, use the +ua setting and either png or tga
output filetypes.

Here are some tips:

1. A sky_sphere is considered an object, so if you use one your alpha
channel will be all white and therefore of no use

2. Media absorption and scattering as well as fog do not affect the
alpha channel

3. Semitransparent / refracting objects give pure white (totally
opaque) in the alpha channel

4. Floor planes just get in the way most of the times, so be prepared
to comment them out and render a +q0 scene just to get the alpha
channel right

5. You can do more advanced stuff like focal blur, distance fade /
desaturation or assembly of several images, but unfortunately POV's
alpha channel support is too limited. You can still use POV to
generate a grayscale image and use it as an alpha channel, if you have
experience with paint programs.

I hope this helps. If you have more interest in the subject, I'll be
glad to help.

Peter Popov
ICQ: 15002700


Post a reply to this message

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