POV-Ray : Newsgroups : povray.general : Tiling hexagons : Re: Tiling hexagons Server Time
30 Jul 2024 16:20:46 EDT (-0400)
  Re: Tiling hexagons  
From: SharkD
Date: 20 Nov 2008 11:50:00
Message: <web.4925943c1539762dba26248c0@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> I want to create an image of hexagons that is tilable (such as a Desktop image).
> However, I don't think it's possible to create a rectangular image with the
> correct width/height ratio due to the odd angles. What's the best way to go
> about doing this?
>
> -Mike

I forgot to describe the math behind the needed aspect ratio:

Width  = 2*cos(30)
Height = 1

I don't believe there exists a multiple of this ratio where the numerator and
denominator are both integers. Hence the problem.

-Mike


Post a reply to this message

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