POV-Ray : Newsgroups : povray.beta-test : AA issue with transparent PNGs : Re: AA issue with transparent PNGs Server Time
30 Jul 2024 18:21:21 EDT (-0400)
  Re: AA issue with transparent PNGs  
From: Warp
Date: 9 Oct 2001 12:44:18
Message: <3bc32962@news.povray.org>
I haven't tested this, but it sounds very believable that the antialiasing
compares only the *colors* of adjacent pixels and doesn't take into account
the fact that the background could be, in fact, colorless (ie. fully
transparent). It's very understandable that this has happened (after all,
the antialiasing code was made long before there was any alpha channel code
in POV-Ray).
  I agree that the antialiasing code could take into account the difference
in pixels caused not only by the colors but also by the alpha channel.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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