public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: mskala@ansuz.sooke.bc.ca
To: Eric McDonald <mcdonald@phy.cmich.edu>
Cc: cstevens@gencom.us, xconq7 <xconq7@sources.redhat.com>
Subject: Re: GIS Tutorial Online
Date: Sat, 25 Sep 2004 16:16:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.21.0409250951520.18307-100000@diamond.ansuz.sooke.bc.ca> (raw)
In-Reply-To: <4154FAA7.7020504@phy.cmich.edu>

On Fri, 24 Sep 2004, Eric McDonald wrote:
> I'm not sure what Matthew (IIRC?) had in mind when he disagreed with the 
> 1 terrain type per hex image idea. Maybe we are all miscommunicating 
> what we really mean....

Just that it seems like it'll multiply terrain types unnecessarily, and
terrain types are somewhat expensive.  If I have two chunks of almost
identical desert, but they have different images, then I have to duplicate
the definition of "desert" throughout my game definition.  Even if I
define a list variable for "all desert hexes", that's only a syntactic
convenience - the actual game definition still has two separate complete
copies of the definition.  It's especially a problem because "two" in this
case is probably more like "hundreds".  I don't want to look at the help
menu that will result from having hundreds, or thousands, of defined
terrain types...  I'd much rather be able to define images per-hex instead
of per-terrain-type; that seems like it would serve the same goal and be
much nicer.

On multidimensional "binning", that's a well-studied problem and relevant
to my research, so I'd be happy to expound on the different standard
algorithms for it if people would like.  I did some of that (with just two
dimensions) in defining terrain types on the Antarctica map, as described
in the document about that which I posted on the Wiki; there, I wasn't
doing it in an automated way but just by hand, manually examining the
scatter plot and tweaking classification rules to get results I liked.

By the way, has anyone tried playing the "standard game adapted for
Antartica" module I posted?  I'd be interested to hear how people liked it
if they tried it.

> I have no problem with multiple files in an intermediate processing 
> step, but all the terrain images for a given terrain image set should be 
> kept in one file, when all is said and done. See 'stdt44x48.gif', 

It would be really nice, too, if that one file could be just the direct
image (possibly scaled to size), and then XConq smart enough to clip out
hexagonal chunks in the right places.  That would mean changing the
read-from-image code to use a hex grid corresponding to the map instead of
the current square grid, but it would mean eliminating an especially nasty
cut-and-rearrange step in creating the file.
-- 
Matthew Skala
mskala@ansuz.sooke.bc.ca                    Embrace and defend.
http://ansuz.sooke.bc.ca/

  reply	other threads:[~2004-09-25 14:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-25  2:12 D. Cooper Stevenson
2004-09-25  4:57 ` Eric McDonald
     [not found]   ` <1096084730.4154ecfabcb19@mail.gencom.us>
2004-09-25 14:04     ` Eric McDonald
2004-09-25 16:16       ` mskala [this message]
2004-09-25 17:32         ` Eric McDonald
     [not found]         ` <1096130231.41559eb7e1508@mail.gencom.us>
2004-09-25 17:59           ` Eric McDonald
2004-09-25 19:24             ` D. Cooper Stevenson
2004-09-26  2:29               ` Eric McDonald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.21.0409250951520.18307-100000@diamond.ansuz.sooke.bc.ca \
    --to=mskala@ansuz.sooke.bc.ca \
    --cc=cstevens@gencom.us \
    --cc=mcdonald@phy.cmich.edu \
    --cc=xconq7@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).