|
|
Thorsten Froehlich <tho### [at] trfde> wrote:
:> How do you calculate antialiasing here?
: You just continue doing it for imaginary sub-pixels, and then average them.
: It is no great anti-aliasing, but it still works. Of course there is some
: cost of memory attached to it, and other restrictions apply ;-)
And it would be incredibly slow. Like using always +a0 (that is,
supersampling is calculated for every pixel).
The idea behind a non-zero antialiasing threshold is that it usually speeds
up the rendering a lot. In most simple images only a small percent of the
image has to be supersampled. Even in complex images there usually is no
need to supersample all the pixels.
Of course the threshold needs that contiguous pixels are calculated.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|