rageworx / fl_imgtk

FLTK image toolkit for some useful effects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Antialiased polygon ...

rageworx opened this issue · comments

Any fastest way to draw antialiased polygon ?
Find a way.

New experimental feature for double sized empty buffer to downscaling for antialiased polygon drawing test:

image
image

Works fine, but slow and more memories required.

2xAA tricky performance tuning :

200% -> 100%
image

125% -> 100%
image

145% -> 100%
image

160% -> 100%
image

180% -> 100%
image

Looking for good idea for faster way to processing each edge area of polygon.

http://josiahmanson.com/research/wavelet_rasterization/
Looks Josiah Manson and Scott Schaefer's Wavelet rasterizing maybe the best way to make any polygon ( or even single line )
rendering method for any resolution of image.