Use value as scalar field in Marching Cubes node (Sverchok addon)
to make scalar field use XYZ and W.
Bounds can be as Box node generator or any other simple geometry creating square
Follow screenshot


or even this: