    texture_map = vtkTextureMapToSphere()
    texture_map.SetInputConnection(sphere.GetOutputPort())
    texture_map.PreventSeamOff()

    tangents = vtkPolyDataTangents()
    tangents.SetInputConnection(texture_map.GetOutputPort())
--
    map_to_sphere = vtkTextureMapToSphere()
    map_to_sphere.SetInputConnection(sphere.GetOutputPort())
    map_to_sphere.PreventSeamOn()

    # Create mapper and set the mapped texture as input
    mapper = vtkPolyDataMapper()
