Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Re: Isometric view
Home

[Freeciv-Dev] Re: Isometric view

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Thue <thue@xxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Isometric view
From: Tuomas Airaksinen <tuma@xxxxxxxxxxxx>
Date: Fri, 19 Jan 2001 20:34:04 +0200
Reply-to: tuomas.airaksinen@xxxxxxxxxx

On Thu, Jan 18, 2001 at 07:27:48PM +0100, Thue wrote:
> > The biggest negative change I noticed was as it were already slow (on my
> > Pentium 130Mhz, resolution 1024x768), so it now slowed down again. It tooks
> > about 2-5 seconds to update the map when moving on it (clicking
> > minimap/map).
> 
> Buy a faster computer! :) It is somewhat acceptable on my celeron 400.
> No, there is some fairly easy improvements that can be made.
> But it will always be 2-3 time slower than normal view.
> I also have a feeling that the imlib lib is a bit slow. Didn't rasterman say 
> imlib2 were a good deal faster on this very list?
> The optimizations I can are:
> -predraw some ofter used combinations like
> --road combinations
> --rail combinatins
> --rivers, forrest, hills, mountains onto base terrain
> --perhaps a few specials can be predrawn onto their target
> -FoW is drawn by first drawing the gfx and then drawning every second pixel 
> black. It would be nicer if we just put the black pixels when we drew in the 
> first place...

...
 
> Slightly updated version at 
> http://hjem.get2net.dk/thue_janus_kristensen/isomet.diff.bz2
> (map grid fix and changed FoW drawing)

Now it seems to be quite a bit faster (it takes about 2 seconds while it took
up to 5 seconds last time). That will say that it's now again playable even with
my computer.

-- 
Terveisin   Tuomas Airaksinen        linux
Kotisivu:   http://tuma.cjb.net/      is all   
Sähköposti: tuma@xxxxxxxxxxxx          we   
Icq:        11870110, IRCnet: tuma      need 

Attachment: pgpZVyUcBWQ_C.pgp
Description: PGP signature


[Prev in Thread] Current Thread [Next in Thread]