POV-Ray : Newsgroups : povray.general : Tiling hexagons : Re: Tiling hexagons Server Time
30 Jul 2024 22:14:22 EDT (-0400)
  Re: Tiling hexagons  
From: "Jérôme M. Berger"
Date: 20 Nov 2008 16:32:12
Message: <4925d75c$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Trevor G Quayle wrote:
> "SharkD" <nomail@nomail> wrote:
>>> You are right about the ratio.  The 2:2cos(30) ratio I've been using is the
>>> ratio of hex width to height, but for tiling of a hex pattern it should be
>>> 3:2cos(30) or 2cos(30):1.
>> Actually, you were correct to begin with!!!! :) I looked at it again and
>> realized the method I described only reproduces the "isometric" pattern of
>> intersecting lines (which is sufficient for my needs). To reproduce the actual
>> *hexagon* in its entirety you need to take things a step further:
>>
>> http://img505.imageshack.us/img505/1909/tileablehexagon2rn5.png
>>
> 
> OK I need to go through step by step.
> 
> If we want a hex pattern that is purely tileable (no mirroring) using your
> image, the width is the same as the green area:
> W=2*cos(30)
> the height should actually be twice what your green area is:
> H=2+2*sin(30)
> =2+1
> =3
> 
> W/H=2*cos(30)/3 or 1/2*cos(30)
> 
> The green box you have drawn is:
> W/H=4*cos(30)/3 or 1/cos(30)
> but this only works if you mirror the pattern on the x-axis
> 
	Actually, it works without mirroring, but you need to offset every
other line by half the width of the green area.

		Jerome
- --
+------------------------- Jerome M. BERGER ---------------------+
|    mailto:jeb### [at] freefr      | ICQ:    238062172            |
|    http://jeberger.free.fr/     | Jabber: jeb### [at] jabberfr   |
+---------------------------------+------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkl16wACgkQd0kWM4JG3k8WMQCfVoSAEPLSZMdpoil3FtMuLx7/
6YIAniN3pvcDibyQ64fWRHUFoXNAmTv+
=imnu
-----END PGP SIGNATURE-----


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.