Renders a 2D surface