POV-Ray : Newsgroups : povray.general : rhombic triacontahedron planes : Re: rhombic triacontahedron planes Server Time
30 Jul 2024 04:22:43 EDT (-0400)
  Re: rhombic triacontahedron planes  
From: Carl
Date: 5 Oct 2009 17:25:01
Message: <web.4aca63372011dde370dc520d0@news.povray.org>
I believe this does it...

  #declare RhombicTriacontahedron =
  intersection
    {plane {-z, 1 rotate <58.28252558854,  -36, 0>}
     plane {-z, 1 rotate <58.28252558854, -108, 0>}
     plane {-z, 1 rotate <58.28252558854, -180, 0>}
     plane {-z, 1 rotate <58.28252558854, -252, 0>}
     plane {-z, 1 rotate <58.28252558854, -324, 0>}

     plane {z, 1 rotate <58.28252558854,  -36, 0>}
     plane {z, 1 rotate <58.28252558854, -108, 0>}
     plane {z, 1 rotate <58.28252558854, -180, 0>}
     plane {z, 1 rotate <58.28252558854, -252, 0>}
     plane {z, 1 rotate <58.28252558854, -324, 0>}

     plane {-y, 1 rotate <58.28252558854,  -36, 0>}
     plane {-y, 1 rotate <58.28252558854, -108, 0>}
     plane {-y, 1 rotate <58.28252558854, -180, 0>}
     plane {-y, 1 rotate <58.28252558854, -252, 0>}
     plane {-y, 1 rotate <58.28252558854, -324, 0>}

     plane {y, 1 rotate <58.28252558854,  -36, 0>}
     plane {y, 1 rotate <58.28252558854, -108, 0>}
     plane {y, 1 rotate <58.28252558854, -180, 0>}
     plane {y, 1 rotate <58.28252558854, -252, 0>}
     plane {y, 1 rotate <58.28252558854, -324, 0>}

     plane {-x, 1 rotate <58.28252558854,  -36, 0>}
     plane {-x, 1 rotate <58.28252558854, -108, 0>}
     plane {-x, 1 rotate <58.28252558854, -180, 0>}
     plane {-x, 1 rotate <58.28252558854, -252, 0>}
     plane {-x, 1 rotate <58.28252558854, -324, 0>}

     plane {x, 1 rotate <58.28252558854,  -36, 0>}
     plane {x, 1 rotate <58.28252558854, -108, 0>}
     plane {x, 1 rotate <58.28252558854, -180, 0>}
     plane {x, 1 rotate <58.28252558854, -252, 0>}
     plane {x, 1 rotate <58.28252558854, -324, 0>}
    }

Looks good to me... wasn't as complicated as I was expecting.

Carl


Post a reply to this message

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