POV-Ray : Newsgroups : povray.general : Vertices of a Icosahedron : Re: Vertices of a Icosahedron Server Time
13 Aug 2024 07:28:44 EDT (-0400)
  Re: Vertices of a Icosahedron  
From: Michael Andrews
Date: 6 Oct 1998 07:59:11
Message: <3619F807.12343958@remove-this.reading.ac.uk>
I was wanting exactly the same thing. I found these coords in John
VanSickle's rock generator and extracted them to a PoV array as follows:

#declare qA=(sqrt(5)+1)/4;
#declare qB=0.5/sqrt(qA*qA+1/4);
#declare qA=qA/sqrt(qA*qA+1/4);

#declare P = array[12] {
 < qA, qB,0>,
 <-qA, qB,0>,
 < qA,-qB,0>,
 <-qA,-qB,0>,
 <0, qA, qB>,
 <0,-qA, qB>,
 <0, qA,-qB>,
 <0,-qA,-qB>,
 < qB,0, qA>,
 < qB,0,-qA>,
 <-qB,0, qA>,
 <-qB,0,-qA>
}

    Hope this helps,
        Mike Andrews.

Mick Hazelgrove wrote:

> Help
>
> How can I calculate the 3D positions of the vertices of an Icosahedron
>
> Thanks in advance
>
> Mick Hazelgrove


Post a reply to this message

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