POV-Ray : Newsgroups : povray.general : rhombic triacontahedron planes Server Time
4 Nov 2024 23:15:39 EST (-0500)
  rhombic triacontahedron planes (Message 1 to 6 of 6)  
From: Carl
Subject: rhombic triacontahedron planes
Date: 4 Oct 2009 12:45:01
Message: <web.4ac8d04134a914745e27dd6e0@news.povray.org>
Hello,

   I've been looking for the planes that define a rhombic triacontahedron.  So
far I've found the below.  Does anyone have a similiar declaration for a rhombic
triacontahedron?

http://mathworld.wolfram.com/RhombicTriacontahedron.html

   I want the planes of the rhombic triacontahedron to match the edges of the
dodecahedron defined below as I'm wanting to animate an edge twist dodecahedron
like those seen here:

http://users.skynet.be/gelatinbrain/Applets/Magic%20Polyhedra/

Thanks,
Carl


#declare Dodecahedron =
 intersection
  {plane {-z, 1 rotate <-26.56505117708,    0, 0>}
   plane {-z, 1 rotate <-26.56505117708,  -72, 0>}
   plane {-z, 1 rotate <-26.56505117708, -144, 0>}
   plane {-z, 1 rotate <-26.56505117708, -216, 0>}
   plane {-z, 1 rotate <-26.56505117708, -288, 0>}

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

   plane { y, 1}
   plane {-y, 1}
   bounded_by {sphere {0, 1.2585}}
  }


#declare RhombicDodecahedron =
intersection
  {
 plane { z, 1 rotate <  0,  45,  45>}
 plane { z, 1 rotate <  0,  45, -45>}
 plane { z, 1 rotate <  0, -45,  45>}
 plane { z, 1 rotate <  0, -45, -45>}

 plane {-z, 1 rotate <  0,  45,  45>}
 plane {-z, 1 rotate <  0,  45, -45>}
 plane {-z, 1 rotate <  0, -45,  45>}
 plane {-z, 1 rotate <  0, -45, -45>}

 plane {-x, 1 }
 plane { x, 1 }

 plane { y, 1}
 plane {-y, 1}
  }


Post a reply to this message

From: Carl
Subject: Re: rhombic triacontahedron planes
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

From: Warp
Subject: Re: rhombic triacontahedron planes
Date: 5 Oct 2009 17:51:46
Message: <4aca6a72@news.povray.org>
Carl <car### [at] gmailcom> wrote:
>   #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>}
>     }

  How about:

#macro RhombicTriacontahedronSection(Dir)
     plane {Dir, 1 rotate <58.28252558854,  -36, 0>}
     plane {Dir, 1 rotate <58.28252558854, -108, 0>}
     plane {Dir, 1 rotate <58.28252558854, -180, 0>}
     plane {Dir, 1 rotate <58.28252558854, -252, 0>}
     plane {Dir, 1 rotate <58.28252558854, -324, 0>}
#end

#declare RhombicTriacontahedron =
  intersection
  { RhombicTriacontahedronSection(-z)
    RhombicTriacontahedronSection(z)
    RhombicTriacontahedronSection(-y)
    RhombicTriacontahedronSection(y)
    RhombicTriacontahedronSection(-x)
    RhombicTriacontahedronSection(x)
  };

-- 
                                                          - Warp


Post a reply to this message

From: fdecomite
Subject: Re: rhombic triacontahedron planes
Date: 8 Oct 2009 05:30:01
Message: <web.4acdb0522011dde34f4c73fb0@news.povray.org>
I generated some files which might be useful for you,
givin  a mesh2 object of the desired shape, a skeleton made of cylinder, and
lists of transformations that map an object to either a edge or a face of the
polyhedron :

dodecahedron :
http://code.google.com/p/spirals/source/browse/pearls/scene/geometry/polyhedra/archimedean/dodecahedron.inc

rhombic triacontahedron :

http://code.google.com/p/spirals/source/browse/pearls/scene/geometry/polyhedra/archimedean/rhombic_triacontahedron.inc

Other polyhedra are available in the same directory.
The ugly java source code generating those inc from off files can be
found there :
http://code.google.com/p/voronoijava/source/browse/Voronoi/src/test/OffReader3DMeshV2.java
(some classes usefull there are in the utils directory)


Post a reply to this message

From: Bill Pragnell
Subject: Re: rhombic triacontahedron planes
Date: 8 Oct 2009 05:45:00
Message: <web.4acdb4192011dde36dd25f0b0@news.povray.org>
I almost replied to this before, but I wasn't sure if I would be of any help
(and then you solved your query anyway ;-), but if you look in the object
collection:

http://lib.povray.org/searchcollection/index2.php

You can see my recent platonic, archimedean and catalan solid mesh2 include
files (I have others to be added in the near future). Although I don't have any
mapping transforms in my includes, they do supply all the vertices in an array,
in addition to the meshes.

"fdecomite" <nomail@nomail> wrote:
> dodecahedron :
>
http://code.google.com/p/spirals/source/browse/pearls/scene/geometry/polyhedra/archimedean/dodecahedron.inc
>
> rhombic triacontahedron :
>
http://code.google.com/p/spirals/source/browse/pearls/scene/geometry/polyhedra/archimedean/rhombic_triacontahedron.in
c

<harmless pedantry>
.... and of course you knew that neither the dodecahedron nor the rhombic
triacontahedron are archimedean solids :-)
</harmless pedantry>

Bill


Post a reply to this message

From: fdecomite
Subject: Re: rhombic triacontahedron planes
Date: 8 Oct 2009 07:50:01
Message: <web.4acdd16f2011dde34f4c73fb0@news.povray.org>
> <harmless pedantry>
> .... and of course you knew that neither the dodecahedron nor the rhombic
> triacontahedron are archimedean solids :-)
> </harmless pedantry>

I always have messy directories...


Post a reply to this message

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