From: | Jesper Svennevid |
Date: | 13 Aug 2001 at 16:22:33 |
Subject: | RE: [amiga-c] Re: isometric gfx engine |
> The easiest way, like Andrew said would be to draw everything from back
> to front, but IMO that would be wasteful if you have lots of objects
> which would obscure things (e.g. buildings in Syndicate). There must be
> some trick to it for the speed. Syndicate flies on my 060, and I can't
> remember how fast UFO is, but I know it's a bit slower (although
> Syndicate only has 8 or 16 colours). But even on the 020, Syndicate was
> always a lot faster than UFO.
I've implemented a isometric engine in a game (not released yet, and pc
make things worse. :) )
You almost never render the entire screen-area, as this takes too much
time. To get good performance, you combine using a circle-buffer (rotating
buffer that allows you to scroll screen-areas internally without moving any
data physically ) and restore-rectangles that clip the output to make sure
you don't draw more than you need. If done correctly, the result should
fly.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/