[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

9036: [MUD-Dev] Re: Hex-grid mapping

[Full Header] [Plain Text]
From: "quzah [sotfhome]" <quzah@softhome.net>
Newsgroups: nu.kanga.list.mud-dev
Date: Tue, 1 Dec 1998 22:32:32 -0800
Organization: Kanga.Nu
From: James Wilson <jwilson@rochester.rr.com> on Tuesday, December 01, 1998 9:39
PM
Subject: [MUD-Dev] Re: Hex-grid mapping


>On Tue, 01 Dec 1998, Jon Leonard wrote:
>>On Tue, Dec 01, 1998 at 07:51:24PM -0500, James Wilson wrote:

[snip]
>>Would you have been happier if I'd drawn my hexes like this?
>>
>>        / \   / \   / \   / \
>>       /   \ /   \ /   \ /   \
>>      | 0,2 | 1,2 | 2,2 | 3,2 |
>>      |     |     |     |     |
>>     / \   / \   / \   / \   /
>>    /   \ /   \ /   \ /   \ /
>>   | 0,1 | 1,1 | 2,1 | 3,1 |
>>   |     |     |     |     |
>>  / \   / \   / \   / \   /
>> /   \ /   \ /   \ /   \ /
>>| 0,0 | 1,0 | 2,0 | 3,0 |
>>|     |     |     |     |
>> \   / \   / \   / \   /
>>  \ /   \ /   \ /   \ /
>>
>>Those are really hexagons...  And the six neighbors have the coordinate
>>deltas I specified.  The fact that they don't look pretty in ASCII graphics
>>says little about the math.

[snip]
>nevertheless there are eight neighbors of each node, not six. perhaps he
doesn't
>care about that.
>
>James


I'm not sure I follow here. Where are the extra two neighbors that only you
see? I'm seeing one neighbor nw, one ne, one east, one se, one sw and finally
one to the west. There are no north and south neighbors. Where do you get a
total of eight? Take in the above example, the hex with 1,1 in it. I'm seeing
neighbors being: [0,1],[0,2],[1,2],[2,1],[2,0] and finally, [1,0]. I'm curious
now as to the additional two hidden neighbors.

Quzah.