POV-Ray : Newsgroups : povray.general : Alpha Channel question Server Time
5 Nov 2024 08:10:49 EST (-0500)
  Alpha Channel question (Message 1 to 3 of 3)  
From: Shark
Subject: Alpha Channel question
Date: 22 Oct 2005 21:55:00
Message: <web.435aece5bf6105027715d460@news.povray.org>
Hi,

A quick question. Is there a way to set the color of the masked data to
something other than black in the output image when Alpha Channel is
enabled?
I use a lot of black in my images, and it gets hard to separate the actual
rendered objects from the rest of the image.

Thanks.
Shark


Post a reply to this message

From: Slime
Subject: Re: Alpha Channel question
Date: 22 Oct 2005 22:00:22
Message: <435aeeb6$1@news.povray.org>
> A quick question. Is there a way to set the color of the masked data to
> something other than black in the output image when Alpha Channel is
> enabled?

When alpha output is enabled, the background color shouldn't show at all
(except in reflections and refraction). When there's a partially transparent
object, even if your background color is set to bright orange, you should
only see the color of the object (along with its transparency) - no orange.
Make sure you have the latest version of POV-Ray for this behavior (I'm not
sure 3.5 did it this way).

If you're referring to the background color appearing in reflections, just
set it with background{rgb whatever}.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: Shark
Subject: Re: Alpha Channel question
Date: 14 Nov 2005 15:30:00
Message: <web.4378f2b71e3d0f5a294338110@news.povray.org>
Ah, thanks! But, I found that it was an issue with my image editor.

"Slime" <fak### [at] emailaddress> wrote:
> > A quick question. Is there a way to set the color of the masked data to
> > something other than black in the output image when Alpha Channel is
> > enabled?
>
> When alpha output is enabled, the background color shouldn't show at all
> (except in reflections and refraction). When there's a partially transparent
> object, even if your background color is set to bright orange, you should
> only see the color of the object (along with its transparency) - no orange.
> Make sure you have the latest version of POV-Ray for this behavior (I'm not
> sure 3.5 did it this way).
>
> If you're referring to the background color appearing in reflections, just
> set it with background{rgb whatever}.
>
>  - Slime
>  [ http://www.slimeland.com/ ]


Post a reply to this message

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