POV-Ray : Newsgroups : povray.binaries.images : Alpha On Corrupting HDRI : Re: Alpha On Corrupting HDRI Server Time
9 Aug 2024 03:23:57 EDT (-0400)
  Re: Alpha On Corrupting HDRI  
From: Zeger Knaepen
Date: 18 Mar 2005 16:02:11
Message: <423b41d3@news.povray.org>
"Daniel S. Matthews" <dan### [at] 3-enet> wrote in message
news:ops### [at] beastiemshomenet...
> Take alpha channel from bad image and add to good image using GIMP or
> Photoshop?

won't do.  With alpha-output, the background is transparent, so anti-aliasing
will work on any background you put behind it.  With your combined method,
anti-aliased pixels will be a blend of the background color (probably black) and
the background-color, resulting in an annoying black (or other colored) edge
around your scene.

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


Post a reply to this message

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