From b02bf111ab873aad70c169e2159ee96c8aea690b Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 17 Sep 2020 01:08:57 -0700 Subject: plato: regular convex polyhedrons in 3D plato implements very simple software-rendered 3D models of the five convex regular polyhedra / Platonic solids Some TODO items: - procedurally generate vertices at runtime - add hidden surface removal setting (Z-buffer?) - add flat shaded rendering setting - add gouraud shading, maybe phong too? - show dual polyhedra This was more about slapping together a minimal 3D wireframe software renderer than anything to do with polyhedra, convex regular polyhedra just seemed like an excellent substrate since they're so simple to model. --- src/modules/plato/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/modules/plato/Makefile.am (limited to 'src/modules/plato/Makefile.am') diff --git a/src/modules/plato/Makefile.am b/src/modules/plato/Makefile.am new file mode 100644 index 0000000..d0b9069 --- /dev/null +++ b/src/modules/plato/Makefile.am @@ -0,0 +1,3 @@ +noinst_LIBRARIES = libplato.a +libplato_a_SOURCES = plato.c +libplato_a_CPPFLAGS = -I@top_srcdir@/src -I@top_srcdir@/src/libs -- cgit v1.2.1