The Star Wars anthology film, set just before the original A New Hope, actually used digital techniques for two separate characters. In the final moments of the film, Princess Leia is revealed in a brief cameo. According to The New York Times, the moment was achieved by using a body double — Norwegian actress Ingvild Deila — and digital recreation of footage of Carrie Fisher from A New Hope for her head and costume.
Another character was digitally recreated for Rogue One, and for far more than one scene. Peter Cushing, who played Grand Moff Tarkin in A New Hope, died in 1994, but Tarkin has a major supporting role in the film. The filmmakers used a body double during filming, wearing motion-capture technology so that the team could add a digital recreation of Cushing's face. The process was laborious, with small details such as lighting and the shape of the mouth while speaking all coming into play to create a figure that seemed realistic.