[AD] edge antialias, double res

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hello !

I have cool procedure to edge antialias done by dumping "shadows" of any object (like 3d or sprite) to buffer, and finally detect this edges in this buffer and interpolate this place on bitmap. Its nothing special, but it is fast.

Well, maybe double resolution to ? Now interpolation is fast on mmx. On non-mmx this is terrible.

Too bad is you dont have X offsets in BITMAP structure. It work fast same like only Y offsets, but its more portable and comfortable :) Then its easy way to double res. by multiply this precalcs.

Allegro ROXXX

Gretingz
Dariusz Dawidowski



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/