<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: Hex-grid mapping --> <!--X-From-R13: Oyoregb Pnefryyn <Oyoregb.PnefryynNhavi-yvyyr1.se> --> <!--X-Date: Thu, 3 Dec 1998 02:02:49 -0800 --> <!--X-Message-Id: Pine.HPP.3.95.981203105519.18085F-100000#lsh01,univ-lille1.fr --> <!--X-Content-Type: text/plain --> <!--X-Reference: Pine.SOL.3.96.981201220816.21161B-100000@sun-cc203 --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] Re: Hex-grid mapping</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:Alberto.Barsella#univ-lille1,fr"> </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="msg00897.html">Previous</a> | <a href="msg00899.html">Next</a> ] Thread: [ <a href="msg00891.html">Previous</a> | <a href="msg00877.html">Next</a> ] Index: [ <A HREF="author.html#00898">Author</A> | <A HREF="#00898">Date</A> | <A HREF="thread.html#00898">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Re: Hex-grid mapping</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: Hex-grid mapping</LI> <LI><em>From</em>: Alberto Barsella <<A HREF="mailto:Alberto.Barsella#univ-lille1,fr">Alberto.Barsella#univ-lille1,fr</A>></LI> <LI><em>Date</em>: Thu, 3 Dec 1998 11:02:28 +0100 (MET)</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> On Tue, 1 Dec 1998, Ling wrote: > On an unrelated note, has anyone got any bright ideas on representing a > sphere with roughly equal shaped tiles? Whereby tiles can be a hex or > otherwise. A requirement is that the solution can be scalable for > different sized spheres for representing something like a moon and then a > large planet. Check the books about computer graphics and the polygonalization of spheres. If triangular tiles are ok for you it's simple to write a recursive triangularization routine. I think I even did it some time ago, but I have no idea where the code might be buried now. You usually start with an octahedron (or tetrahedron) and then you split every face into 4 triangles using midpoint split of edges and renormalization. I don't know if there is any clever way to label the tiles which gives you a simple formula for distance calculations, etc. Hope this helps, Alberto </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="00880" HREF="msg00880.html">[MUD-Dev] Re: Hex-grid mapping</A></STRONG> <UL><LI><EM>From:</EM> Ling <K.L.Lo-94#student,lboro.ac.uk></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00897.html">[MUD-Dev] Re: DIS: Client-Server vs Peer-to-Peer</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00899.html">[MUD-Dev] Re: Hex-grid mapping (fwd)</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00891.html">[MUD-Dev] Re: Hex-grid mapping</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00877.html">[MUD-Dev] ScryMUD/Hegemon code Release</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00898"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00898"><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: Hex-grid mapping</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <ul compact> <ul compact> <ul compact> <LI><strong><A NAME="00890" HREF="msg00890.html">[MUD-Dev] Re: Hex-grid mapping</A></strong>, Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Wed 02 Dec 1998, 21:45 GMT </LI> </ul> </ul> </ul> </ul> <LI><strong><A NAME="00880" HREF="msg00880.html">[MUD-Dev] Re: Hex-grid mapping</A></strong>, Ling <a href="mailto:K.L.Lo-94#student,lboro.ac.uk">K.L.Lo-94#student,lboro.ac.uk</a>, Tue 01 Dec 1998, 22:14 GMT <UL> <LI><strong><A NAME="00885" HREF="msg00885.html">[MUD-Dev] Re: Hex-grid mapping</A></strong>, Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Wed 02 Dec 1998, 06:02 GMT </LI> <LI><strong><A NAME="00891" HREF="msg00891.html">[MUD-Dev] Re: Hex-grid mapping</A></strong>, Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Wed 02 Dec 1998, 21:50 GMT </LI> <LI><strong><A NAME="00898" HREF="msg00898.html">[MUD-Dev] Re: Hex-grid mapping</A></strong>, Alberto Barsella <a href="mailto:Alberto.Barsella#univ-lille1,fr">Alberto.Barsella#univ-lille1,fr</a>, Thu 03 Dec 1998, 10:02 GMT </LI> </UL> </LI> </ul> </LI> <LI><strong><A NAME="00877" HREF="msg00877.html">[MUD-Dev] ScryMUD/Hegemon code Release</A></strong>, Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Tue 01 Dec 1998, 07:13 GMT <LI><strong><A NAME="00876" HREF="msg00876.html">[MUD-Dev] Atention SSH/Java-developers (MindTerm update)</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Tue 01 Dec 1998, 06:52 GMT <LI><strong><A NAME="00869" HREF="msg00869.html">[MUD-Dev] DevMUD: List data, subscription, and the rest</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Sun 29 Nov 1998, 23:16 GMT <UL> <LI><strong><A NAME="00871" HREF="msg00871.html">[MUD-Dev] Re: DevMUD: List data, subscription, and the rest</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Mon 30 Nov 1998, 16:03 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>