>I don't see why you need to scan vertically
All right i said vertically but you can scan first horizontally : but my idea was to not scan each line after
another (but skip N lines) so IF the shape is at the bottom (or right) of the screen you hit at first time only in several scan lines not by scanning all lines (or colonnes)
>Also by scanning vertically u arereading from RAM non->sequentially is very slow.
Absolutely right :-)
BTW with Altivec u can do massive compare of datas
some instructions on UBYTEs
vavgub Average 16 UBYTE
vcmpgtsb Compare Greater-Than of 16 BYTE
vmaxub Maximum of 16 UBYTE
vminub Minimum of 16 UBYTE
etc...
Alain :-D