|
|
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.)
Jerry
--
http://www.hoboes.com/jerry/
"Give a man a fish and you feed him for a day. Teach him to fish, and you've
depleted the lake."--It Isn't Murder If They're Yankees
(http://www.hoboes.com/jerry/Murder/)
Post a reply to this message
|
|
|
|
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
|
|
|
|
In article <ZFmBuAAFlOF+Ewq### [at] econymdemoncouk>,
Mike Williams <mik### [at] econymdemoncouk> wrote:
>Do you mean like this?
Yes, that's just what I needed. Thanks!
Jerry
--
http://www.hoboes.com/jerry/
"Give a man a fish and you feed him for a day. Teach him to fish, and you've
depleted the lake."--It Isn't Murder If They're Yankees
(http://www.hoboes.com/jerry/Murder/)
Post a reply to this message
|
|