Article View: comp.sys.amiga.tech
Article #1883Area Fills
From: Eduardo Horvath
Date: Fri, 27 Oct 1989 16:23
Date: Fri, 27 Oct 1989 16:23
24 lines
1779 bytes
1779 bytes
Does anybody out there have code for fast area fills using the blitter?
I have been putting together a program that has been rendering a large number
( >100 ) of multi-colored polygons in real time. At first I sent each poly
to Area...() separately ( Called AreaEnd() between each 2 polys ) but that was
too slow. Then I only called AreaEnd() at the end of each frame, but all I
got was a mono-chromatic blob, although the rendering speed more than doubled.
In the last version, I separated the colors and rendered them separately, but
the frame rate is not much better than the first method.
I am on the point of junking GfxBase and poking around in the blitter
myself, so I would appreceate (sp?) any ideas on how to sort lines so when
they are filled, the colors go in the right places.
===============================================================================
//x = MEN AT WORK
/// \ Try: 33014-18@sjsumcs.SJSU.EDU =
/// \ = This space
/// \ Eduardo Horvath = is
\\\ ///=======\ = UNDER
\\\/// \ = CONSTRUCTION
\xxx \miga. The computer for the corruptive mind.
===============================================================================
Technical Details
Message-ID:
<1989Oct27.162303.787@sjsumcs.sjsu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!brutus.cs.uiuc.edu!apple!claris!sts!octopus!sjsumcs!33014-18Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!brutus.cs.uiuc.edu!apple!claris!sts!octopus!sjsumcs!33014-18 From: 33014-18@sjsumcs.sjsu.edu (Eduardo Horvath) Newsgroups: comp.sys.amiga.tech Subject: Area Fills Message-ID: <1989Oct27.162303.787@sjsumcs.sjsu.edu> Date: 27 Oct 89 16:23:03 GMT Reply-To: 33014-18@sjsumcs.SJSU.EDU (Eduardo Horvath) Organization: San Jose State University Lines: 24