Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user jmi ! (Registered 2024-09-15) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Earliest examples of EOR fillers?
2024-06-20 21:02
cobbpg

Registered: Jan 2022
Posts: 6
Earliest examples of EOR fillers?

What are the earliest known instances of vertical EOR fill routines either in demos or in games? I know that at least Stunt Car Racer uses the technique to draw the sky under the opponent four pixels at a time.
 
... 18 posts hidden. Click here to view all posts....
 
2024-06-23 18:41
trident

Registered: May 2002
Posts: 91
very cool! so that may be the first instance of an eor filler in a c64 demo!

@mixer: do you have any insight into the thinking behind bx's code? such as if the idea or incorporating the eor fill came from experience with amiga coding?
2024-06-23 19:27
Ninja

Registered: Jan 2002
Posts: 411
trident: read the production notes of that demo
2024-06-23 19:29
Mixer

Registered: Apr 2008
Posts: 443
@trident, the production notes have some details on it as Ninja mentioned.
2024-06-23 19:49
trident

Registered: May 2002
Posts: 91
awesome! this is the relevant part from the production notes:

> Idea for EOR filler was inveted by CLF when he was doing his Amiga 3d routines.

so i guess that confirms the hypothesis that the eor filler technique that got popular in c64 demos originated with the amiga's blitter fill techniques.

the eor fill technique from stunt car racer was quite a bit earlier though, but since the game was released on the amiga as well as the c64, it isn't impossible that the amiga inspired the c64 eor fill in that case as well.

does anyone know where the amiga blitter designers may have picked up idea for the eor fill? it feels like there should be a siggraph paper from the 1970s that pioneered it, but they can be difficult to find since the early terminology wasn't always consistent with later uses.
2024-06-23 20:43
Mixer

Registered: Apr 2008
Posts: 443
A lot of the CG stuff was imagined or demonstrated late 60's and early 70's(cool demos in Youtube), but I would not be surprised if the origins of rasterization goes back all the way to the time of the loom.
2024-06-23 20:52
cobbpg

Registered: Jan 2022
Posts: 6
As far as I know, Stunt Car Racer was developed on the C64 first, then Crammond did the Amiga port, which renders the world in a completely different way. It's possible that knowing about the blitter was an inspiration, but in the end there are many innovations in that engine that are a lot more complex than the EOR trick, so he could have just figured it out in isolation to solve that particular problem.

One very relevant paper I found was "The Edge Flag Algorithm—A Fill Method for Raster Scan Displays" (Ackland and Weste, 1981), which basically describes the idea of plotting edges with just one pixel per scanline, then applying the EOR transformation horizontally. Apparently they even built a hardware implementation.

All earlier papers I could find with a cursory search usually talk about other methods (mostly generating spans from ordered edges or flood filling variants). The above paper does refer to an earlier publication discussing "parity check" algorithms, but those are also more complex and have to look at other neighbours as well to handle various corner cases.
2024-06-23 20:57
Mixer

Registered: Apr 2008
Posts: 443
Those Agkland and Weste seem to be Bell Labs employees, so this may be relevant:

https://www.youtube.com/watch?v=98EyJG-xmu4
2024-06-24 14:15
trident

Registered: May 2002
Posts: 91
that ackland and weste paper definitely sounds like it could be the original origin! unfortunately i can't seem to find a pdf copy right now (and don't have ieee xplore access either).
2024-06-24 15:20
ChristopherJam

Registered: Aug 2004
Posts: 1402
Effluvium was very late (2004), but it does use a horizontal EOR fill, which apparently isn't the "usual" way to do it - so I've no idea how much prior art there is there.
2024-06-24 18:20
cobbpg

Registered: Jan 2022
Posts: 6
Quoting trident
that ackland and weste paper definitely sounds like it could be the original origin! unfortunately i can't seem to find a pdf copy right now (and don't have ieee xplore access either).


Yeah, I could only find the paper through the popular alternative route...

So we have one example of monochrome fill from as early as 1989, and multicolour with glenz from 1992. I wonder how far back the latter idea goes. Is megademo 8 the earliest one from the Amiga scene?
Previous - 1 | 2 | 3 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
bugjam
Dave/SIDNIFY
REBEL 1/HF
dstar/Fairlight
Mason/Unicess
zzarko
kbs/Pht/Lxt
Tchad/Jam
zscs
Xiny6581/Dees Produc..
JSL
csio/monarchy c+4
Shake/Role
tlr
Guests online: 150
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 Wonderland XIV  (9.6)
8 Comaland 100%  (9.6)
9 No Bounds  (9.6)
10 Unboxed  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Morph  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Nostalgia  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.2)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Veto  (9.6)
3 Facet  (9.6)
4 The Sarge  (9.6)
5 Carrion  (9.5)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.035 sec.