LONDON — The future of Terry Gilliam’s “The Imaginarium of Doctor Parnassus” has been thrown into question following the sudden death of its star Heath Ledger.

The $30 million indie pic wrapped the London leg of its shoot last Saturday. The production team has moved to Vancouver, Canada, where blue-screen work was due to start next week and continue until early March.

The producers have yet to issue any statement about how or whether they plan to proceed without Ledger.

Ledger was the biggest name in an ensemble cast including Christopher Plummer, Lily Cole and Tom Waits. It’s the story of an ancient travelling show which arrives in modern London with a magical mirror that can transport its audience into fantastical realms of the imagination.

Plummer plays the impresario Doctor Parnassus, and Ledger took the role of a mysterious outsider who joins the troupe on a quest through parallel worlds to save the doctor’s daughter (Cole) from the clutches of the devil (Waits).

The movie is produced by Samuel Hadida, Bill Vince and Amy Gilliam, and largely financed through Hadida’s Paris-based Davis Film.

Ledger’s involvement in the project was a key factor in raising the finance. He had a strong relationship with Gilliam from their last pic together, “Brothers Grimm.”

In November 2000, Gilliam was forced to abandon his $32 million indie project “The Man Who Killed Don Quixote” after just a week of shooting, when his star Jean Rochefort was too ill to continue.

Ledger’s death also came as he was working on what would have been his feature directing debut, an adaptation of the Walter Tevis novel “The Queen’s Gambit,” with British writer/producer Allan Scott.

The leading role of a young female chess prodigy had been offered to Oscar nominee Ellen Page. Ledger, himself a highly rated chess player, was due to play a supporting role.

In an interview last month, a few days after shooting started on “Doctor Parnassus,” Gilliam said, “Heath is extraordinary. He’s just so good, and he’s going to be a film director. He’s watching everything, and he’s going to be a much better director than I will ever be.”