Hexagon has appealing characteristics for a map tile. It has six neighbours and the distance from any hexagon to its neighbour is exactly same. More traditional square based map tile has eight neighbours and distance varies from 1 to 1.414.., depending on in which direction particular neighbour is located at. However, they both have one characteristic in common, they look dull.
If you take a closer look at Small World map you will see that map tiles have hexagonal aspect and they do not look dull. Tiles have pretty strong border in high contrast which separates tiles from each other. Hexagon segments have been deformed and the tiles are textured using hand drawn textures with some extra details on top of them. These little finishing touches make them look great and pretty hard to spot hexagon aspect when you look at the map.
As a part of Farout project I have been playing around with Dehexifying algorithm to make hexagon map looks something like Small World map in the image above. Algorithm is simple, yet the results are quite stunning. Algorithm can be divided into following steps:
- Create vertices for hexagon map (in my implementation caller gives number of hexagons in horizontal and vertical direction, and width of one hexagon as parameters)
- Connect vertices into segments, every segment contains exactly two vertices at this point (segments reference to vertices, therefore altering one vertex affects every other segment using same vertex)
- Create hexagons from segments (hexagons reference segments, therefore modifying one segment alters other hexagons using same segment)
- Deform the vertices (this could be done before step 3 it just happens to be 4th step in my implementation)
- Split segments into several vertices. Number of vertices created for segment depends on the segment’s length after step 4. The longer the segment is the more vertices will be created.
- Deform newly created vertices to make segments non planar.

After these six steps hexagon map looks surprisingly lot like a Small World map, depending on how well your deforming algorithms work. One has to remember that this is just a model for the dehexified map – what it really looks like depends on rendering algorithm, which I will talk more about in my next post.

Have you noticed that SW-map areas can have 7 neighbors? How about implementing that? =D
It’s doable. We can do more refining in later phases of the map generation and as one refinement we can combine several hexagons into regions. So regions would be the ones that have border and they could have more than six neighbours.
Appreciated the share!
Hellen
How are you I really enjoy your blog. I linked to your website on my main site about the PSP 3000 so my followers will check out your website hopefully.
Sweet blog! I found it while surfing around on Yahoo News. Do you have any tips on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Cheers
Regularly I will likely not create comments on blogs, however We have got to suggest that the following post genuinely forced me to take some action. Really exceptional content.
Thank you for great article. I’d a very good time reading, where there were few some tips i was surprised by.
I real delighted to find this internet site on bing, just what I was searching for : D also saved to fav.
I got what you mean , regards for posting .Woh I am pleased to uncover this site by way of google.
Perfect piece of work you have done, this site is really cool with good info.
I’ve lately started a blog, the data you provide on this site has helped me tremendously. Thank you for all of your time & work.
Do you have a subscribe list where I can receive an email when you post a new article?
Unfortunately I have no such system enabled.
Hi just thought its interesting.. This can be twice now ive landed on your own blog within the last few 3 weeks trying to find totally unrelated things. Spooky or what?
Im impressed, I must say. Really rarely do I come across a weblog thats each informative and entertaining, and let me let you know, youve hit the nail on the head. Your blog is crucial; the concern is some thing that not adequate people are talking intelligently about. Im really happy that I stumbled across this in my search for some thing relating to this issue.
hello this is the data I had been seeking, do you thoughts basically share that together with my readers ?
This is very interesting, You’re a very skilled blogger. I’ve joined your rss feed and look forward to seeking more of your fantastic post. Also, I’ve shared your website in my social networks!
I’ll gear this review to 2 types of people: current Zune owners who are considering an upgrade, and people trying to decide between a Zune and an iPod. (There are other players worth considering out there, like the Sony Walkman X, but I hope this gives you enough info to make an informed decision of the Zune vs players other than the iPod line as well.)
IпїЅпїЅve really enjoyed reading your articles. You obviously figure out what you will be sharing! Your website is that easy to navigate too, IпїЅпїЅve bookmarked it inside favourites. . . . .
You might have gained a loyal reader my best mate
great tips Excellent, finally a fantastic post! This page is precisely what I was needing help with, much appreciated! hoping there will be some disucssion about tips and tricks. Will definitely be linking this on my blog!