He directed such films as Blue Velvet, 1984’s Dune, and Eraserhead, and co-created the mystery-horror series Twin Peaks.