Skip to content

Duals from Platonic Solids Generated Incorrectly #1

@ModernMAK

Description

@ModernMAK

This is more an issue of how my Platonic Solid Builder and my Dual Graph Builder work.

I construct a 1-1 mesh-to-graph conversion after generating a fancy mesh using my Platonic Solid Generator. Then generate the dual of the mesh-graph to create my planet graph.

But, because the translation from mesh to mesh-graph is 1-1 this means that instead of working with polygons (like squares for cube and pentagons for dodecahedron) I always work with triangles. This produces weird artifacts in the solids which don't use triangles exclusively.

This is why a cube planet looks wonky, and why a dodecahedron with no subdivisions is actually another dodecahedron subdivided once (instead of the expected icosahedron).

Unfortunately, this may be out of my scope; while I understand the concepts of subdividing triangles and quads (REMIDNER: arbitrary quads can be subdivided by lerping any two pairs of unconnected sides, then lerping between those); I'm not sure how easy it would be to subdivide pentagons.

While I don't believe my code does this perfectly; I'd prefer if I could subdivide in a way that would allow an icosahedron and a dodecahedron to be duals; given the proper inputs. But I don't know if this is possible.

What I do know is possible, is to subdivide a pentagon into 6 pentagons (which may lead to the behavior I'd like) even if it doesn't it would follow the format of subdividing into the same parent shape.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions