1998Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates -->
<!--X-From-R13: Xba Zrbaneq <wyrbaneqNqvipbz.hzbc&#45;nc.pbz> -->
<!--X-Date: Wed, 22 Apr 1998 18:09:02 &#45;0700 -->
<!--X-Message-Id: 19980422180739.31730#divcom,umop&#45;ap.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 01bd6e4d$25f51dc0$1d0a3fd1@alexb -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map co</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jleonard#divcom,umop-ap.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="msg00293.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00315.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00293.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00315.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00304">Author</A>
&nbsp;|&nbsp;<A HREF="#00304">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00304">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates</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] Re: MAPPING: Creating a bitmaped graphic from map coordinates</LI>
<LI><em>From</em>: Jon Leonard &lt;<A HREF="mailto:jleonard#divcom,umop-ap.com">jleonard#divcom,umop-ap.com</A>&gt;</LI>
<LI><em>Date</em>: Wed, 22 Apr 1998 18:07:39 -0700</LI>
<LI><em>Cc</em>: Jon Leonard &lt;<A HREF="mailto:jleonard#divcom,umop-ap.com">jleonard#divcom,umop-ap.com</A>&gt;</LI>
<LI><em>Delivery-date</em>: Wed Apr 22 18:09:04 1998</LI>
<LI><em>Delivery-date</em>: Wed, 22 Apr 1998 18:09:04 -0700</LI>
<LI><em>Envelope-to</em>: claw#kanga,nu</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,,,," &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>
On Wed, Apr 22, 1998 at 05:17:06PM -0700, John Bertoglio wrote:
&gt; Here's the problem:
&gt; 
&gt; We have a mud world with main grid of 1200 by 800 cells. Each of those cells
&gt; is stored in a database along with x,y coordinate information, cell color,
&gt; terrain type, etc. I have written a simple mapping function which maps local
&gt; areas using HTML tables. These work pretty well but since the minimum size
&gt; on a 17 inch monitor is about a 1/4 inch square, it is not possible to
&gt; render large areas or even consider the whole map.
 
&gt; Here's what I need:
&gt; 
&gt; I can write my data to any text configuration. The only format I am aware of
&gt; which has a native text format is Postscript. This is impractical since I
&gt; don't want to try to write a million cells to this format since it would be
&gt; huge. Also, I would have to learn the innerworkings of postscript, which
&gt; look like real work. I know this is possible because tiled games do this
&gt; (our maps would just be single pixel tiles...) on a smaller scale. I know I
&gt; am missing something here.

Assuming I understand the problem, you want to generate a map of a MUD world,
but can only output text?

A few potential solutions come to mind:

1) Modify your mud so it can output binary, and just output some format
	like PPM (basically uncompressed color data).

2) Warp your code so that it generates the uuencoded form of the above, and
	uudecode before viewing.

3) Use Postscript anyway.  If you're willing to sacrifice readability,
	Postscript can be fairly compact.  Well-written Postscript shouldn't
	be that big anyway.

4) Use whatever output format is convenient for your program, and then run
	it through a custom converter program to get something more useful.

I recommend 1, then 4, then 3, in that order.

Contact me off-list for technical details if necessary.  I know enough to
do #3 or #4 if given a little more info about the mud's data structures. 

More on topic, are there any solutions for map (or other graphics)
generation for a graphical MUD besides the obvious ones?

Custom client (OS specific -- ick.)
Java applet
Web page with graphics generated on the server. (insufficiently interactive)

Jon Leonard

-- 
MUD-Dev: Advancing an unrealised future.
</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="00293" HREF="msg00293.html">[MUD-Dev] MAPPING: Creating a bitmaped graphic from map coordinates</A></STRONG>
<UL><LI><EM>From:</EM> "John Bertoglio" &lt;alexb#internetcds,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00293.html">[MUD-Dev] MAPPING: Creating a bitmaped graphic from map coordinates</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00315.html">[MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00293.html">[MUD-Dev] MAPPING: Creating a bitmaped graphic from map coordinates</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00315.html">[MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00304"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00304"><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="00351" HREF="msg00351.html">[MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates</A></strong>, 
John Bertoglio <a href="mailto:alexb#internetcds,com">alexb#internetcds,com</a>, Thu 23 Apr 1998, 03:06 GMT
<UL>
<LI><strong><A NAME="00422" HREF="msg00422.html">[MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates</A></strong>, 
s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Thu 23 Apr 1998, 17:22 GMT
<UL>
<LI><strong><A NAME="00241" HREF="msg00241.html">[MUD-Dev] Correction</A></strong>, 
s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Wed 29 Apr 1998, 21:39 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00293" HREF="msg00293.html">[MUD-Dev] MAPPING: Creating a bitmaped graphic from map coordinates</A></strong>, 
John Bertoglio <a href="mailto:alexb#internetcds,com">alexb#internetcds,com</a>, Thu 23 Apr 1998, 00:15 GMT
<UL>
<LI><strong><A NAME="00304" HREF="msg00304.html">[MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,umop-ap.com">jleonard#divcom,umop-ap.com</a>, Thu 23 Apr 1998, 01:09 GMT
</LI>
<LI><strong><A NAME="00315" HREF="msg00315.html">[MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Thu 23 Apr 1998, 01:20 GMT
</LI>
<LI><strong><A NAME="00326" HREF="msg00326.html">[MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates</A></strong>, 
Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Thu 23 Apr 1998, 01:49 GMT
</LI>
<LI><strong><A NAME="00413" HREF="msg00413.html">[MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 23 Apr 1998, 17:13 GMT
<UL>
<LI><strong><A NAME="00522" HREF="msg00522.html">[MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Fri 24 Apr 1998, 01:18 GMT
</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>