#RastPort.AreaInfo
10-Feb-95 18:04:34
Sb: #45540-#RastPort.AreaInfo
Fm: Jim Maddox 74667,2175
To: Phillip Wooller 100024,2227
>> If I remember correctly the polygon fill doesn't use the blitter line
>> draw which might speed the process up on a slower machine.
It doesn't use it, so that might help on an A500…but my A4000…. <g>
>> Don't forget of course that you won't just be drawing polygons anyway.
Well, yeah — but if I can't get more than 80 or 160/sec by concentrating 100%
on drawing anyway, I won't even get that close when running the other parts of
the program too.
I did notice that the program in the book is constantly waiting for the blitter
before proceeding. With two image buffers, blitting one while outlining the
other is possible — but then, we have to wait for the blitter to finish so we
can clear the buffer, unless we devote CPU time to clearing it.
>> …you could draw the polygon by calculating both sides using two
>> bresenham lines each side and filling between the two points. That may
>> be a quicker way, whether after drawing the polygon in one plane you
>> would use the blitter to copy to the other blitplanes….
Isn't that what the book does?
>> Doing chunky to bitplane conversions of the whole screen may not be
>> optimal If you have a fast good hidden surface removal.
I was thinking more along the lines of letting the '040 do all the polygon
drawing work when I said that. It's much faster than even the AA blitter,
especially in fast RAM. It would also be able to do things like texture-
mapping better.
>> (If only it was easy)
<g> And if only I had more time to play with it.
>> (did it really have self modifying code, I don't remember seeing any)
I didn't really notice anything either; it just doesn't run right with caches
on.
>> How fast does the ROM version go when running without AGA or caches?
Um…couldn't make it run like that. <g>
The version from the book runs slower on the A500 than on the A4000, though.
>> What you want to do is talk to Jez San who did Starglider II and the
>> mario chip (Can't remember the offical name) for StarWing/StarFox on the
>> Super Nintendo.
Now why didn't I think of that…Jez is here on CIS. He checks into the
Vidgames forum from time to time. Maybe I'll send him an E-mail.
(That chip is the FX Chip, BTW. 😉
– Jim, on AP!