POV-Ray : Newsgroups : povray.general : Tiling hexagons : Re: Tiling hexagons Server Time
30 Jul 2024 16:21:05 EDT (-0400)
  Re: Tiling hexagons  
From: Trevor G Quayle
Date: 20 Nov 2008 12:25:00
Message: <web.49259d331539762d81c811d20@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> "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


1351 X 1170
1560 x 1351
both have a difference of 0.000027%

-tgq


Post a reply to this message

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