The Visual Hull of Piecewise Smooth Objects