POV-Ray : Newsgroups : povray.beta-test : Alpha problems: text is not antialiased : Re: Alpha problems: text is not antialiased Server Time
30 Jul 2024 18:11:10 EDT (-0400)
  Re: Alpha problems: text is not antialiased  
From: Peter Popov
Date: 13 Nov 2001 00:58:41
Message: <h2d1vtoqfvmsriflpfs9h8fmig9jc1b8og@4ax.com>
On Tue, 13 Nov 2001 00:20:22 -0500, "Nathan Kopp" <nat### [at] koppcom>
wrote:

>The antialiasing algorithm still blends the object with the background.
>However, the new code compensates by adjusting weights to "unblend" the
>color and blend the alpha channel instead.  Once the "unblending" is
>complete, the antialiased pixels no longer contain any background color
>information!

Is this done using raw or clipped colors? 

As a side note, here's a description of the Defringe filter in
Photoshop, if it could be of any use. The idea of using adjacent
pixels is neat, but POV is already doing this by anti-aliasing :)

:When you move or paste an anti-aliased selection, some of the pixels 
:surrounding the selection border are included with the selection. 
:This can result in a fringe or halo around the edges of the pasted 
:selection. These Matting commands let you edit unwanted edge pixels: 
:
:Defringe replaces the color of any fringe pixels with the colors of 
:nearby pixels containing pure colors (those without background color).
:For example, if you select a yellow object on a blue background and 
:then move the selection, some of the blue background is selected and 
:moved with the object. Defringe replaces the blue pixels with yellow 
:ones.
:
: <snip>
:
:Enter a value in the Width text box for the distance to search for 
:replacement pixels. In most cases, a distance of 1 or 2 pixels is 
:enough.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

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