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
|