1998Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Nested coorindate space model -->
<!--X-From-R13: X Q Znjerapr <pynjNhaqre.rate.ftv.pbz> -->
<!--X-Date: Wed, 20 May 1998 11:19:30 &#45;0700 -->
<!--X-Message-Id: 199805199818.LAA07828#under,engr.sgi.com -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Nested coorindate space model</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:claw#under,engr.sgi.com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00729.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00731.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00741.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00756.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00730">Author</A>
&nbsp;|&nbsp;<A HREF="#00730">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00730">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Nested coorindate space model</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] Nested coorindate space model</LI>
<LI><em>From</em>: J C Lawrence &lt;<A HREF="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</A>&gt;</LI>
<LI><em>Date</em>: Wed, 20 May 1998 11:18:58 -0700</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: "Petidomo List Agent -- Kanga.Nu version" &lt;<A HREF="mailto:petidomo#kanga,nu">petidomo#kanga,nu</A>&gt;</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>

Somebody asked me easlier about my nested coordinate space model:

URL:<A  HREF="http://www.kanga.nu:80/~petidomo/lists/mud-dev/1997Q2/msg01152.html">http://www.kanga.nu:80/~petidomo/lists/mud-dev/1997Q2/msg01152.html</A>

--&lt;cut&gt;--

The approach which I'm currently moving towards is somewhat related to
this:

The entire world lies within a single coordinate system  (32bit cube).

Domains within that global coordinate system are marked off as being
"units".  A domain is defined as a 3D space as deliniated by a matrix
of coordinates. Typically this means a cuboid space (eg a rectangular
building).  

Each domain is associated with a unique key value.

There is no requirement for a domain to consist of only one lump.  A
domain can be two or more seperate "lumps" widely seperated in the
global coordinate system.  Such lumps are linked by having a common
key.
  
A domain may elect to define a new coordinate system for its contents. 
Again this is a 32bit cube, and a defined point within the boundaries
of the domain is defined as the origin of the new coordinate system.

Given a domain which consists of several distinct lumps, the
coordinate system ignores the "space" between the lumps.  ie the space
between the lumps as defined by the containing coordinate system is
treated as of zero size.

    eg

       +------------------------------------------+
       |    Global coordinate system              |
       |  +-----------+         +-----------+     |
       |  | Domain #1 |         | Domain #1 |     |
       |  | Lump #1   |         | Lump #2   |     |
       |  |           |         |           |     |
       |  | Origin    |         |           |     |
       |  |/         X|         |Y          |     |
       |  +-----------+         +-----------+     |
       +------------------------------------------+
        \ 
         Origin

The points 'X' and 'Y' in the above diagram when viewed by the Domain
#1 coordinate system are considered to be seperated by no space.  This
of course gets more interesting with tessellated shapes.  Consider:

       +----------------------------+
       |  Global coordinate system  |
       |                            |
       |  DDDD             DDDD     |
       |  DDDD             DDDD     |
       |  DDDD             DDDD     |
       |  DDDX             YDDD     |
       |  DDDA DDDDDDDDDD  BDDD     |
       |  DDDD DDDDDDDDDD  DDDD     |
       |  DDDD       DDDD  DDDD     |
       |  DDDDDDDD   DDDD           |
       |  DDDDDDDD   DDDD           |
       +----------------------------+
   
Where the D's mark of a single domain.  The points 'X' and 'Y' are
immediately adjacent, but the points 'A' and 'B' are seperated by
significant distance due to the intervening lump.

Just to add detail, domains may be nested meaning that they exist
within the coordinate space of their enclosing domain.  I don't allow
the lumps comprising a domain to exist at different nesting levels. 
All the lumps of a domain must be defined within the same coordinate
system, tho I do allow multiple domains to overlap the same space in
the enclosing domain.

Note: A specific requirement of this entire system was to be able to
model the Tardis, the Blue Grass Path, and Vance's Big Planet (* see
note below) as well as more mundane geometric systems.

Typically a single building of many rooms or a similar construction
would define a domain.  Fancy rooms or room aggregates could define a
domain consisting of multiple lumps.  

A room is defined as a space which a "normal" player character can
perceive the entirety of to an adequate level of resolution without
undue action.  

Rooms define their internal size and scope via coordinate points
defined in their domain's coordinate system.  Thus a room may span
multiple lumps of its domain such that an exit at one end of the room
may pop out at one end of the land, and the exit at the other end of
the room, a mere three steps away from the first, may pop out at the
other end.

(*) I'm not sure if I mean Big Planet here.  I'm trying to recall the
SF book in which the native fauna of the planet had mastered the
ability to connect disperate spaces without intervening dimension.  eg
a loop, passing thru which results in being somewhere else totally,
but passing around has no unusual effect.  The neat thing here was
structures such as animals which would have a sessile portion
containing the brain, stomache and other key organs located in a
"safe" place, and the "eating" portions being mobile with spatial
links back to the stomach piece.  Thus the eater half could wander
around in great danger and eat, have sex etc, with all the food
passing back to the hidden stomache miles away.  Plants did the same
thing to gather precious resources far from where they wished to live
(eg liquid water not generally available in parched
deserts). Conservation of energy laws *were* observed BTW.

--&lt;cut&gt;--

-- 
J C Lawrence                               Internet: claw#null,net
(Contractor)                               Internet: coder#ibm,net
---------(*)                     Internet: claw#under,engr.sgi.com
...Honourary Member of Clan McFud -- Teamer's Avenging Monolith...

-- 
MUD-Dev: Advancing an unrealised future.

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00756" HREF="msg00756.html">[MUD-Dev] Re: Nested coorindate space model</A></strong>
<ul compact><li><em>From:</em> Ling &lt;K.L.Lo-94#student,lboro.ac.uk&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00729.html">[MUD-Dev] Re: MURKLE: Wot it is</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00731.html">[MUD-Dev] Re: Bad Game Designer, No Twinkie! -- By Ernest Adams</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00741.html">[MUD-Dev] Re: Now For Something Completely Different: PK with style</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00756.html">[MUD-Dev] Re: Nested coorindate space model</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00730"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00730"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><strong><A NAME="00796" HREF="msg00796.html">[MUD-Dev] Re: Combat in the Abandoned Realms</A></strong>, 
John Bertoglio <a href="mailto:alexb#internetcds,com">alexb#internetcds,com</a>, Fri 22 May 1998, 07:53 GMT
<LI><strong><A NAME="00760" HREF="msg00760.html">[MUD-Dev] Sex in Games -- ya gotta, um, yeah</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 21 May 1998, 17:49 GMT
<LI><strong><A NAME="00744" HREF="msg00744.html">[MUD-Dev] Re: world concept</A></strong>, 
jacob langthorn <a href="mailto:jlangthorn#towertechinc,com">jlangthorn#towertechinc,com</a>, Thu 21 May 1998, 06:05 GMT
<LI><strong><A NAME="00741" HREF="msg00741.html">[MUD-Dev] Re: Now For Something Completely Different: PK with style</A></strong>, 
John Bertoglio <a href="mailto:alexb#internetcds,com">alexb#internetcds,com</a>, Thu 21 May 1998, 05:04 GMT
<LI><strong><A NAME="00730" HREF="msg00730.html">[MUD-Dev] Nested coorindate space model</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Wed 20 May 1998, 18:19 GMT
<UL>
<LI><strong><A NAME="00756" HREF="msg00756.html">[MUD-Dev] Re: Nested coorindate space model</A></strong>, 
Ling <a href="mailto:K.L.Lo-94#student,lboro.ac.uk">K.L.Lo-94#student,lboro.ac.uk</a>, Thu 21 May 1998, 17:30 GMT
<UL>
<LI><strong><A NAME="00839" HREF="msg00839.html">[MUD-Dev] Re: Nested coorindate space model</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Wed 27 May 1998, 03:09 GMT
<UL>
<LI><strong><A NAME="00853" HREF="msg00853.html">[MUD-Dev] Re: Nested coorindate space model</A></strong>, 
Ling <a href="mailto:K.L.Lo-94#student,lboro.ac.uk">K.L.Lo-94#student,lboro.ac.uk</a>, Sat 30 May 1998, 15:39 GMT
<UL>
<LI><strong><A NAME="00854" HREF="msg00854.html">[MUD-Dev] Re: Nested coorindate space model</A></strong>, 
Michael Hohensee <a href="mailto:michael#sparta,mainstream.net">michael#sparta,mainstream.net</a>, Sat 30 May 1998, 20:07 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>