Fast and flexible polygonization of height fields