Commit graph

8 commits

Author SHA1 Message Date
62730a03b4 March gen: add some testing and viz capabilities
This allows to visualize easily a generated configuration, thus allowing
testing
2018-02-09 20:07:54 +01:00
fc2f17b453 March gen: refactor for easier testing 2018-02-09 20:07:38 +01:00
f15151ff57 March gen: refactor for easier testing 2018-02-09 01:52:00 +01:00
0f60c717f0 March gen: symmetries do not seem to be needed
This would be backed by the base cases 10 and 15 being the same up to
planar symmetry with a plane of normal vector x.
2018-02-09 01:39:49 +01:00
b5ae4b5463 March generator: fix pretty printing
Fix various display/valid C++ generation problems.
2018-02-09 01:31:18 +01:00
65cb03487d March generator: enhance error handling 2018-02-09 01:31:18 +01:00
1dece061a3 march generator: add reverse activated points 2018-02-09 01:31:06 +01:00
39d12ef8a4 Marching cubes: tentative configurations generator
First attempt to generate the configurations of the marching cubes
algorithm, following naively the definition — using the 15 base cases
and generating all rotations and symmetries. This implementation does
not try to be parcimonious, it bruteforces the configurations, since the
search space is quite small anyway.

The plan is to implement a python generator that outputs a valid .cpp
file containing the pre-computed (at compile time) array for
configurations.
2018-02-09 00:29:16 +01:00