MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
[MUD-Dev] Re: Hex-grid mapping
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
- Thread context:
- [MUD-Dev] Re: Hex-grid mapping, (continued)
- [MUD-Dev] Re: Hex-grid mapping,
Ling K.L.Lo-94#student,lboro.ac.uk, Tue 01 Dec 1998, 22:14 GMT
- [MUD-Dev] Re: Hex-grid mapping,
Jon A. Lambert jlsysinc#ix,netcom.com, Wed 02 Dec 1998, 06:02 GMT
- [MUD-Dev] Re: Hex-grid mapping,
Nathan F Yospe yospe#hawaii,edu, Wed 02 Dec 1998, 21:50 GMT
- [MUD-Dev] Re: Hex-grid mapping,
Alberto Barsella Alberto.Barsella#univ-lille1,fr, Thu 03 Dec 1998, 10:02 GMT
- [MUD-Dev] ScryMUD/Hegemon code Release,
Ben Greear greear#cyberhighway,net, Tue 01 Dec 1998, 07:13 GMT
- [MUD-Dev] Atention SSH/Java-developers (MindTerm update),
J C Lawrence claw#kanga,nu, Tue 01 Dec 1998, 06:52 GMT
- [MUD-Dev] DevMUD: List data, subscription, and the rest,
J C Lawrence claw#kanga,nu, Sun 29 Nov 1998, 23:16 GMT
[ Other Periods
| Other mailing lists
| Search
]