generate_surface_data function

Generate surface data