cf
cf copied to clipboard
CUBE
hi Clément!
I was looking at your CUBE module, just to see how it works. Soon enough I had to make a DODE.cpp dodecahedron renderer. Works well enough. I did as little as possible to your code - just reworked the vertices and line segments. Array dimensions, of course.
It has a few flaws. When I looked closely at your CUBE, it exhibits the same odd imperfections, viz:
-
there are flashing lines where no lines should be should be at all. Ghosts? Perhaps a timing issue between step and rendering catches vertices mid-transformation?
-
The ends of the lines get very long and sharp and therefor exretnd beyond the vertex. I wonder if this is a line style default or something.
Anyway, I had fun and if you can perfect CUBE, we would automatically instantly have the dodecahedron, which I can give you if you want to publish a module for it
OR
my big idea is a module called PLATO which would allow selection from tetrahedron, octahedron &c.
a7