POV-Ray : Newsgroups : povray.binaries.images : Problem with option +ua : Re: Problem with option +ua Server Time
9 Aug 2024 15:17:24 EDT (-0400)
  Re: Problem with option +ua  
From: Rune
Date: 13 Jan 2005 11:03:51
Message: <41e69be7@news.povray.org>
Nicolas Rougier wrote:
> But I will get aliasing problem depending on the background, no ?

Yes.

When the alpha channel is turned on, the rgb values are divided with the 
alpha value, such that when the rgb values are later multiplied with the 
alpha value in an image viewer it will balance out.

If the dividing step is not done, you will get traces of the background 
color at the edges of antialiased objects, and the background color will 
also be visible behind all semi-transparent surfaces.

Rune
-- 
3D images and anims, include files, tutorials and more:
rune|vision:  http://runevision.com
POV-Ray Ring: http://webring.povray.co.uk


Post a reply to this message

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