|
![](/i/fill.gif) |
Wasn't it Jerry who wrote:
>I'd like to be able to make a hexagonal grid for use in making maps.
>Making square grids for maps is easy enough with gradient x/gradient z,
>but I can't figure out how to make a hexagonal grid. The hexagonal
>pattern is not for grids but for solid hexagons.
>
>You can see an example of what hexagonal grids look like at:
>
>http://www.godsmonsters.com/Master/image003.gif
>
>Is there a way of making such a pattern? Perhaps using functions?
>
>Standard POV or MegaPOV are both fine. (I vaguely remember someone
>making a few more shapes for patterns a while back, though I don't know
>that hexagons were among them.)
Do you mean like this?
#include "functions.inc"
plane {y, 0
pigment {
function { f_hex_x(x,y,z,0)}
colour_map {[0.83 rgb 1]
[0.83 rgb 0]}
rotate x*90
}
}
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |