POV-Ray : Newsgroups : povray.general : Alpha and background : Re: Alpha and background Server Time
30 Jul 2024 20:25:17 EDT (-0400)
  Re: Alpha and background  
From: Zeger Knaepen
Date: 28 May 2008 17:54:14
Message: <483dd486$1@news.povray.org>
"Lilith" <lil### [at] dcccdedu> wrote in message 
news:8qkr34df9t3489m1b1gqbd5mdonn65i63p@4ax.com...
> On Wed, 28 May 2008 22:20:58 +0100, Stephen <mcavoysAT@aolDOTcom>
> wrote:
>
>>On Wed, 28 May 2008 16:00:35 -0500, Lilith <lil### [at] dcccdedu> wrote:
>>
>>> What do
>>>I need to set as the background color, if any?
>>
>>In the documents
>>3.3.2.2  Background
>>
>>e.g for a black background
>>
>>background { color rgb <0.000,0.000,0.000> }
>
> I'm not sure you understand.  I need the background to ultimately be
> transparent in the rendered PNG file.

with +ua it will be, no matter what your background-color is

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

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