Xref: utzoo comp.graphics:7179 comp.lang.c:21265 comp.sys.ibm.pc:33861 rec.games.programmer:1131 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!lll-winken!uunet!mcsun!hp4nl!eutrc3!bdbihjp From: bdbihjp@eutrc3.urc.tue.nl (hj.pels) Newsgroups: comp.graphics,comp.lang.c,comp.sys.ibm.pc,rec.games.programmer Subject: triangle filling Keywords: graphics algorithm triangle Message-ID: <879@eutrc3.urc.tue.nl> Date: 28 Aug 89 22:37:38 GMT Organization: Eindhoven University of Technology, The Netherlands Lines: 12 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