[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[glob2-devel] map sizes (was: Minimap algorithm)
From: |
Joe Wells |
Subject: |
[glob2-devel] map sizes (was: Minimap algorithm) |
Date: |
Sat, 14 Jul 2007 02:50:52 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Kai Antweiler" <address@hidden> writes:
>> I've been trying to recreate minimap code in its own class with sort of
>> half/success. My algorithm bassically assigns a colorType to every point on
>> the map, (colorType is just a smaller memory footprint used to reference the
>> color itself), and then interpolates between these values. The minimap is
>> only 100x100, but maps are 64x64 or 128x128 so they don't line up.
>
> Good point. Why don't we use a minimap that has a size which is a power of 2?
> 128x128 would make more sense than 100x100. If it is too large 64x64
> might be better.
A side comment: It would be nice if in the long run (over the next
year or two) glob2 moved toward allowing maps whose dimensions are not
powers of 2. A 256 by 256 map is a bit small and boring, but 512 by
512 maps are way too big.
--
Joe
- Re: [glob2-devel] Minimap algorithm, (continued)
[glob2-devel] map sizes (was: Minimap algorithm),
Joe Wells <=