This is another implementation of Dual Contouring (DC) like the one at #41. Advantages:
Simpler: less code and more documented. It doesn't include octrees or mesh simplification as it can be applied later.
Faster: 42s --> 10s on cylinder_head example.
Any number of cells supported as it doesn't use octrees.
Better control over quality and performance, and prints helpful warnings.
It has the same problem of small intersecting triangles as the previous implementation (DC has this disadvantage), but it is good enough for my use case.
This is another implementation of Dual Contouring (DC) like the one at #41. Advantages:
It has the same problem of small intersecting triangles as the previous implementation (DC has this disadvantage), but it is good enough for my use case.