High above the cloistered, elegant city, the director turned a friend’s apartment into a moody and tropical oasis.