POV-Ray : Newsgroups : povray.general : At wits' end : Re: At wits' end Server Time
5 May 2024 10:24:59 EDT (-0400)
  Re: At wits' end  
From: scott
Date: 14 Mar 2016 06:48:46
Message: <56e6970e$1@news.povray.org>
>> Maybe that ought to be:
>>
>>
http://news.povray.org/povray.binaries.images/thread/%3Cweb.56e620c88e79eb4c5e7df57c0%40news.povray.org%3E/
>>
>> :O
>
> hmmm... your math differs from the site I was using for information.

His diagram lines are OK, but some of the angles are wrong. Actually so 
long as you know the angles of a hexagon (120 degrees), just use 
Pythagoras on the lower left triangle (the one with hypotenuse L/2).

(L/2)^2 = (S/2 + S*sin(30))^2 + (Scos(30))^2
(L/2)^2 = (S/2 + S/2      )^2 + 3/4*S^2
(L/2)^2 = 7/4 * S^2
  L^2    = 7 * S^2
  L      = sqrt(7) * S


Post a reply to this message

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