MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
[MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map
- To: mud-dev#kanga,nu
- Subject: [MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map
- From: "Jon A. Lambert" <jlsysinc#ix,netcom.com>
- Date: Thu, 23 Apr 1998 21:21:13 -5
- Delivery-date: Thu Apr 23 18:18:35 1998
- Delivery-date: Thu, 23 Apr 1998 18:18:35 -0700
- Envelope-to: claw#kanga,nu
- Reply-To: mud-dev#kanga,nu
- Sender: "Petidomo List Agent,,,," <petidomo#kanga,nu>
On 23 Apr 98 at 10:13, J C Lawrence wrote:
> On Wed, 22 Apr 1998 17:17:06 -0700
> John Bertoglio<alexb#internetcds,com> wrote:
>
> > Here's the problem:
>
> > We have a mud world with main grid of 1200 by 800 cells. Each of
> > those = cells is stored in a database along with x,y coordinate
> > information, cell = color, terrain type, etc. I have written a
> > simple mapping function which maps = local areas using HTML
> > tables. These work pretty well but since the minimum = size on a 17
> > inch monitor is about a 1/4 inch square, it is not possible to
> > render large areas or even consider the whole map.
>
> <nod>
>
> > Here's what I need:
>
> > I can write my data to any text configuration.
>
> Of course you *can*. The question is whether you need to, and whether
> there is a benefit to use either a text, binary, or other storage
> format.
>
> First thought: I'd suggest dynamically generating .GIF's of the map
> (perhaps even a single large .GIF covering the entire world), and then
> exporting from that a sub-.GIF to the client for the segment he's
> interested in. The .GIF format is widely documetned, quite simple,
> and has extensive libraries available for its manipulation. PNG is
> another (quite likely better) format. JPEG would seem problemic.
>
Hmm. Good answer. Also GIF format is already HTML browser supported
and not only that, one might do away with tables and have the server
dynamically generate a hotspot graphical map.
<MAP NAME="WhereAmI">
<AREA SHAPE="RECT" COORDS="10,10,20,20" HREF="forest.html">
<AREA SHAPE="RECT" COORDS="20,10,30,20" HREF="ocean.html">
<AREA SHAPE="RECT" COORDS="30,10,40,20" ALT="You Are Here"
HREF=foobar.html>
...
</MAP>
<IMG SRC="localmap.gif" BORDER=0 WIDTH=30 HEIGHT=10
USEMAP="#WhereAmI">
:)
--
--/*\ Jon A. Lambert - TychoMUD Internet:jlsysinc#ix,netcom.com /*\--
--/*\ Mud Server Developer's Page <http://www.netcom.com/~jlsysinc> /*\--
--/*\ "Everything that deceives may be said to enchant" - Plato /*\--
--
MUD-Dev: Advancing an unrealised future.
- Thread context:
- [MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates, (continued)
- [MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates,
Jon Leonard jleonard#divcom,umop-ap.com, Thu 23 Apr 1998, 01:09 GMT
- [MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates,
Caliban Tiresias Darklock caliban#darklock,com, Thu 23 Apr 1998, 01:20 GMT
- [MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates,
Nathan F Yospe yospe#hawaii,edu, Thu 23 Apr 1998, 01:49 GMT
- [MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map coordinates,
J C Lawrence claw#under,engr.sgi.com, Thu 23 Apr 1998, 17:13 GMT
[ Other Periods
| Other mailing lists
| Search
]