Adaptively sampled distance fields: a general representation of shape for computer graphics