I made this example a while back but I decided to come back and clean it up, and I wanted to share it.
What it looked like before:
What it looks like now:
You can view the example here: Marching Cubes
I’ll try making a dual contouring example or maybe optimize this one using a quadratic error approach some time later.