move marching cubes to objExprter, interface using State*