triangle filling

hj.pels bdbihjp at eutrc3.urc.tue.nl
Tue Aug 29 08:37:38 AEST 1989


Hello

I am looking for a FAST triangle-filling algorithm in C. It should be
optimised for triangles, i already have a generic polygon filler. The
algorithm should 'scan' a triangle and call a function scanline for each
horizontal line with parameters Y,X1 and X2 coordinates. Are there
any classic algorithms available ? Pseudo-code or Pascal is also
acceptable

Greetings

merlin



More information about the Comp.lang.c mailing list