<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Room-based vs. coordinate-based --> <!--X-From-R13: pynjerapNphc.uc.pbz --> <!--X-Date: from babe.globecomm.net [207.51.48.8] by in12.ibm.net id 867712013.41044-1 Mon Jun 30 23:06:53 1997 CUT --> <!--X-Message-Id: 199706302304.QAA14716#xsvr3,cup.hp.com --> <!--X-Content-Type: text/plain --> <!--X-Reference: 33b33947.521449955@neptune --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, Re: [MUD-Dev] Room-based vs. coordinate-based</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:clawrenc#cup,hp.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> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg01617.html">Previous</a> | <a href="msg01619.html">Next</a> ] Thread: [ <a href="msg01487.html">Previous</a> | <a href="msg01262.html">Next</a> ] Index: [ <A HREF="author.html#01618">Author</A> | <A HREF="#01618">Date</A> | <A HREF="thread.html#01618">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>Re: [MUD-Dev] Room-based vs. coordinate-based</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI> <LI><em>Subject</em>: Re: [MUD-Dev] Room-based vs. coordinate-based</LI> <LI><em>From</em>: <A HREF="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</A></LI> <LI><em>Date</em>: Mon, 30 Jun 97 15:59:47 -0700</LI> <LI><em>Reply-to</em>: <A HREF="mailto:claw#null,net">claw#null,net</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> In <<A HREF="msg01452.html">33b33947.521449955@neptune</A>>, on 06/23/97 at 08:52 AM, alexo#bigfoot,com (Alex Oren) said: >Which brings me back to the topic. >How would I implement the equivalent of room-spoofs in a >coordinate-based setting? If you recall the blurb I gave a while ago on coordinate systems and domains within domains, my intention is to have each sub-domain be faked out within the DB as a "room", and to then have the room be spoofed as per normal. For those that weren't here for the domain posting: --<cut>-- From: clawrenc#hpuxps,cup.hp.com To: mud-dev#null,net Subject: [MUD-Dev] Room-based vs. coordinate-based --<...deletia...>-- 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. --<...Notes on Big Planet deleted...>-- --<cut>-- -- J C Lawrence Internet: claw#null,net (Contractor) Internet: coder#ibm,net ---------------(*) Internet: clawrenc#cup,hp.com ...Honorary Member Clan McFUD -- Teamer's Avenging Monolith... </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="01452" HREF="msg01452.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></STRONG> <UL><LI><EM>From:</EM> alexo#bigfoot,com (Alex Oren)</LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg01617.html">Re: [MUD-Dev] Supporting RP+PG</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg01619.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg01487.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg01262.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#01618"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#01618"><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>Re: [MUD-Dev] Room-based vs. coordinate-based</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <LI><strong><A NAME="01619" HREF="msg01619.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 01 Jul 1997, 06:45 GMT </LI> <LI><strong><A NAME="01465" HREF="msg01465.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>, Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Tue 24 Jun 1997, 01:33 GMT <LI><strong><A NAME="01474" HREF="msg01474.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>, Alex Oren <a href="mailto:alexo#bigfoot,com">alexo#bigfoot,com</a>, Tue 24 Jun 1997, 14:09 GMT <LI><strong><A NAME="01487" HREF="msg01487.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>, Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Wed 25 Jun 1997, 11:07 GMT </LI> </LI> </LI> <LI><strong><A NAME="01618" HREF="msg01618.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 01 Jul 1997, 06:06 GMT </LI> </ul> <LI><strong><A NAME="01262" HREF="msg01262.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>, Alex Oren <a href="mailto:alexo#bigfoot,com">alexo#bigfoot,com</a>, Mon 09 Jun 1997, 22:05 GMT <UL> <LI><strong><A NAME="01263" HREF="msg01263.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>, Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Sun 11 Jan 1970, 02:46 GMT </LI> </UL> </LI> </ul> </ul> </ul> </ul> </ul> </ul> </ul> <LI><strong><A NAME="00176" HREF="msg00176.html">Re: Issues from the digests and Wout's list</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 22 Apr 1997, 06:53 GMT </LI> <LI><strong><A NAME="00177" HREF="msg00177.html">Re: Issues from the digests and Wout's list</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 22 Apr 1997, 07:52 GMT </LI> </ul> </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>