<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Terrain/Landmass & GIF/BMP --> <!--X-From-R13: "dhmnu Mfbgsubzr]" <dhmnuNfbsgubzr.arg> --> <!--X-Date: Wed, 7 Oct 1998 14:45:45 -0700 --> <!--X-Message-Id: 000301bdf23c$52abeb00$3487ebcd@k6 --> <!--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] Terrain/Landmass & GIF/BMP</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:quzah#softhome,net"> </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="msg00112.html">Previous</a> | <a href="msg00114.html">Next</a> ] Thread: [ <a href="msg00574.html">Previous</a> | <a href="msg00114.html">Next</a> ] Index: [ <A HREF="author.html#00113">Author</A> | <A HREF="#00113">Date</A> | <A HREF="thread.html#00113">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Terrain/Landmass & GIF/BMP</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] Terrain/Landmass & GIF/BMP</LI> <LI><em>From</em>: "quzah [sotfhome]" <<A HREF="mailto:quzah#softhome,net">quzah#softhome,net</A>></LI> <LI><em>Date</em>: Wed, 7 Oct 1998 14:49:03 -0700</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> Greetings everyone, While I normally just post uninteresting responses, it is mow my turn to request a bit of help. I have two questions that I am hoping you as a whole can help me a bit with. The first is this: I am developing a world generator of sorts, that with a few parameters will generate the entire mud world. It will take into account the following info: sizeX (width of world west to east) sizeY (length of world north to south) clustering (continents/small islands/large islands/etc) "hillyness" (flat/small hills/mountains/etc) mineral richness (frequency of mineral deposits) temperature (over all cold/mild/warm/hot/etc) on land water supplies (rivers/lakes/etc [amount of]) wetness (over all very dry/dry/moderate/damp/very wet/etc) Now then, I am using 16 height levels (0 and 15 are unreachable depth and height respectively) ( 7 and 8 are sea level at_below/ at_above respectively). What I am unsure of what/how to do is the "cluster effect" for my land masses. I want to be able to generate random height/depth terrain based on clustering+hilly+ sizeY+sizeX+wetness using the 14 available depth/height levels. Does anyone know a link or quick formula I could look at to do something along these lines? I can just toss out random +/- to a given coordinate, and check its neighbors to make sure there is not too big a jump, but I think that would be inefficient and or ineffective in the long run. Any suggestions? (For rivers I plan on using heuristics for getting from point A (river source) to point B (river mouth) but I haven't looked at it too in depth. Finally I believe I have managed to locate the actual formula for "A*" so I may see what I can do with it at a later date.) The second question/problem I have that I'm hoping I can get a bit of help with is this: After finally generating a world mass, I need a way to "see" what it looks like. Even on a very small world (500x1000) in ASCII form, it will be very very hard to get an over all look at the world. I was thinking that if there is a simple way to output to a GIF or BMP, then I'd be able to just open up the picture in a paint program and "see" what the world looks like. Does anyone know of any good links that explain how to output either "x number of bits" or "x number of bytes" to a GIF or BMP? (PCX would even work). Currently, each piece of info on the land mass takes up 20 bits, so I can either drop it down to 16 bits, or bump it up to 32 bits for the use of GIF/BMP (Yeah, I know GIF is 8bits, I THINK I can lower it enough to be able to use a GIF format). Anyway, if anyone can help, you have my thanks (if you have a better idea for either of these, feel free to let me know your thoughts on the matters). Thanks in advance. -Q- </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="00120" HREF="msg00120.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></strong> <ul compact><li><em>From:</em> Niklas Elmqvist <d97elm#dtek,chalmers.se></li></ul> <li><strong><A NAME="00118" HREF="msg00118.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></strong> <ul compact><li><em>From:</em> Petri Virkkula <pvirkkul#iki,fi></li></ul> <li><strong><A NAME="00117" HREF="msg00117.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></strong> <ul compact><li><em>From:</em> Hal Black <hal#moos,ml.org></li></ul> <li><strong><A NAME="00115" HREF="msg00115.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></strong> <ul compact><li><em>From:</em> Caliban Tiresias Darklock <caliban#darklock,com></li></ul> <li><strong><A NAME="00114" HREF="msg00114.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></strong> <ul compact><li><em>From:</em> Adam Wiggins <adam#angel,com></li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00112.html">[MUD-Dev] Re: [DESIGN] To kill or not to kill?</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00114.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00574.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00114.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00113"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00113"><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>[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</STRONG>, <EM>(continued)</EM> <ul compact> <LI><strong><A NAME="00126" HREF="msg00126.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 08 Oct 1998, 14:08 GMT </LI> <LI><strong><A NAME="00127" HREF="msg00127.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></strong>, quzah [sotfhome] <a href="mailto:quzah#softhome,net">quzah#softhome,net</a>, Thu 08 Oct 1998, 23:03 GMT </LI> <LI><strong><A NAME="00342" HREF="msg00342.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></strong>, quzah [sotfhome] <a href="mailto:quzah#softhome,net">quzah#softhome,net</a>, Thu 22 Oct 1998, 08:19 GMT </LI> <LI><strong><A NAME="00574" HREF="msg00574.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></strong>, Dominic J. Eidson <a href="mailto:sauron#morannon,kdi.com">sauron#morannon,kdi.com</a>, Thu 29 Oct 1998, 00:00 GMT </LI> </ul> </LI> <LI><strong><A NAME="00113" HREF="msg00113.html">[MUD-Dev] Terrain/Landmass & GIF/BMP</A></strong>, quzah [sotfhome] <a href="mailto:quzah#softhome,net">quzah#softhome,net</a>, Wed 07 Oct 1998, 21:45 GMT <UL> <LI><strong><A NAME="00114" HREF="msg00114.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></strong>, Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Wed 07 Oct 1998, 22:04 GMT </LI> <LI><strong><A NAME="00115" HREF="msg00115.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></strong>, Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Wed 07 Oct 1998, 22:26 GMT </LI> <LI><strong><A NAME="00117" HREF="msg00117.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></strong>, Hal Black <a href="mailto:hal#moos,ml.org">hal#moos,ml.org</a>, Thu 08 Oct 1998, 03:18 GMT </LI> <LI><strong><A NAME="00118" HREF="msg00118.html">[MUD-Dev] Re: Terrain/Landmass & GIF/BMP</A></strong>, Petri Virkkula <a href="mailto:pvirkkul#iki,fi">pvirkkul#iki,fi</a>, Thu 08 Oct 1998, 03:40 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>