is a 2001 animated science fiction film directed by Hironobu Sakaguchi, creator of the Final Fantasy franchise. A co-production between Japan and the United States, it was the first photorealistic computer-animated feature film and the most expensive video game-inspired film until the release of Prince of Persia: The Sands of Time in 2010. The film stars the voices of Ming-Na Wen, Alec Baldwin, Donald Sutherland, James Woods, Ving Rhames, Peri Gilpin, and Steve Buscemi, and follows scientists Aki Ross and Doctor Sid in their efforts to free a post-apocalyptic Earth from the Phantoms, a mysterious, deadly alien race who has driven the remnants of humanity into "barrier cities". Aki and Sid must fight against General Hein, who wants to use more violent means to end the conflict.

Square Pictures rendered the film using some of the most advanced processing capabilities available at the time. A render farm of 960 workstations was tasked with rendering each of the film's 141,964 frames. It took a staff of 200 about four years to complete The Spirits Within. Square intended to make the character of Aki Ross into the world's first photorealistic computer-animated actress, with plans for appearances in multiple films in different roles.

The Spirits Within premiered in Los Angeles on July 2, 2001, and was theatrically released in the United States on July 11. It received mixed reviews, but was widely praised for its characters' realism. Due to rising costs, the film greatly exceeded its original budget toward the end of production, reaching a final cost of $137 million (equivalent to $ million in ); it grossed only $85.1 million at the box office. The film has been called a box-office bomb and is blamed for the demise of Square Pictures.

Plot In 2065, Earth is infested by alien life forms known as Phantoms. By physical contact Phantoms consume the Gaia spirit of living beings, killing them instantly, although minor contact may only result in an infection. The surviving humans live in "barrier cities" protected by energy shields that prevent Phantoms from entering, and are engaged in an ongoing struggle to free the planet. After being infected by a Phantom during one of her experiments, scientist Dr. Aki Ross (Ming-Na Wen) and her mentor, Dr. Sid (Donald Sutherland), discover a means of defeating the Phantoms by gathering eight spirits: unique energy patterns contained by various lifeforms. When joined, the resulting energy wave can negate the Phantoms. Aki searches for the sixth spirit in the ruins of New York City when she is cornered by Phantoms but rescued by Captain Gray Edwards (Alec Baldwin) and his squad Deep Eyes, consisting of Master Sergeant Ryan Whittaker (Ving Rhames), Neil Fleming (Steve Buscemi) and Corporal Jane Proudfoot (Peri Gilpin). It is revealed that Gray was once romantically involved with Aki.

Returning to her barrier city, Aki joins Sid and appears before the leadership council along with General Douglas Hein (James Woods). Hein is determined to use the Zeus cannon, a powerful weapon aboard a space station, to destroy the Phantoms, though Sid is concerned the cannon will damage Earth's Gaia (a spirit representing its ecosystem). Aki delays the use of the cannon by revealing that she has been infected and the collected spirits are keeping her infection stable, convincing the council that there may be another way to defeat the Phantoms. However, this revelation leads Hein to incorrectly conclude that she is being controlled by the Phantoms. Aki and the Deep Eyes squad succeed in finding the seventh spirit as Aki's infection begins to worsen and she slips into unconsciousness. Her dream reveals to her that the Phantoms are the spirits of dead aliens brought to Earth on a fragment of their destroyed planet. Sid uses the seventh spirit to bring Aki's infection back under control, reviving her.

To scare the council into giving him clearance to fire the Zeus cannon, Hein lowers part of the barrier shield protecting the city. Though Hein intended that only a few Phantoms enter, his plan goes awry and legions of Phantoms invade the entire city. Aki, Sid and the Deep Eyes attempt to reach Aki's spaceship, their means of escape, but Ryan, Neil and Jane are killed by Phantoms. Hein escapes and boards the Zeus cannon's space station, where he finally receives authorization to fire the cannon.

Sid finds the eighth spirit at the crater site of the alien asteroid's impact on Earth at the Caspian Mountains. He lowers a shielded vehicle, with Aki and Gray aboard, into the crater to locate the final spirit. Just before they can reach it, Hein fires the Zeus cannon into the crater, not only destroying the eighth spirit but also revealing the Phantom Gaia. Aki has a vision of the Phantom home planet, where she is able to receive the eighth spirit from the alien particles in herself. When Aki awakens, she and Gray combine it with the other seven. Hein continues to fire the Zeus cannon despite overheating warnings and unintentionally destroys the cannon and himself. Gray sacrifices himself as a medium needed to physically transmit the completed spirit into the alien Gaia. The Earth's Gaia is returned to normal as the Phantoms ascend into space, finally at peace. Aki is pulled from the crater holding Gray's body and is seen looking into the newly liberated world.

Production

Development

Final Fantasy: The Spirits Within was filmed entirely in English. The original script, written by Sakaguchi, was titled Gaia. The screenplay was later rewritten by Al Reinert and Jeff Vintar. The film was co-directed by Motonori Sakakibara, with Jun Aida and Chris Lee both serving as producers. Lee even compared The Spirits Within, the first full-length photorealistic animated film, to Walt Disney's Snow White and the Seven Dwarfs, the first full-length cel animated film. In order to keep the film in line with Hironobu Sakaguchi's vision as director, several script rewrites took place, most in the initial stages of production. By April 2000, Square was partnering with Columbia Pictures to produce the film, making it the first animated feature Columbia had worked on since Care Bears Movie II: A New Generation in 1986. Columbia was given the rights to distribute the film worldwide, with the exception of Asia.

The Spirits Within was completed over a period of four-years, during which approximately 200 people put in a combined 120 years of work on it. The first 18 months of development were spent creating the in-house software SQFlesh, which plugged into the programs Autodesk Maya and RenderMan. The majority of the rest of production was spent on animation. Square accumulated four SGI Origin 2000 series servers, four Onyx2 systems, and 167 Octane workstations for the film's production. The basic film was rendered at a custom render farm created by Square in Hawaii. It housed 960 Pentium III-933 MHz workstations. Character movements were filmed using motion capture technology. Animator Matthew Hackett stated that while motion capture was effective for many of the scenes, in others animators still had to add movements manually. Hand and facial movements were all done manually. Some of General Hein's facial features and poses were based on Hackett. As animators did not want to use any actual photographs in the film, all backgrounds were done using matte paintings. 1,327 scenes in total needed to be filmed to animate the digital characters. The film consists of 141,964 frames, with each frame taking an average of 90 minutes to render. By the end of production Square had a total of 15 terabytes of artwork for the film.

Aki Ross's voice actor, Ming-Na Wen, was selected for a perceived fit between her personality and Aki's. Ming-Na, who found the role via her publicist, said she felt like she had given birth with her voice to the character. She gradually accustomed herself to the difficulty of working without the presence and spontaneity of real actors, and commented that the voice-acting work did not take much time, as she would just go into the studio "once or twice a month for about four months" with no need for make-up and costuming sessions. The workload was so light it did not interfere with her acting commitments in the television series ER.

Sakaguchi said that he was pleased with the film's final cut, and he would not have changed anything if given the chance. The film had high cost overruns towards the end of filming. New funds had to be sourced to cover the increasing production costs while maintaining staff salaries. The film's final cost of $137 million, which included about $30 million spent on marketing by Columbia Pictures, escalated from an original budget rumored to be around $70 million. $45 million alone was spent on the construction of Square's studio in Hawaii.

Themes Director Sakaguchi named the main character after his mother, Aki, who died in an accident several years prior to the production of the film. Her death led Sakaguchi to reflect on what happened to the spirit after death, and these thoughts resurfaced while he was planning the film, eventually taking the form of the Gaia hypothesis. He later explained that the theme he wanted to convey was "more of a complex idea of life and death and spirit", believing that the best way to portray this would be to set the film on Earth. By comparison, Final Fantasy video games are set in fictional worlds. Dan Mayers from Sight & Sound said that the film followed the same theme typically found in Final Fantasy video games: "A party of heroes averts impending global holocaust by drawing on their individual skills, gaining knowledge through challenges and emerging victorious with new-found love and respect for themselves and their companions". Writing in the book Robot Ghosts and Wired Dreams, Livia Monnet wrote the film remediated "the notion of life in the neovitalistic, evolutionary biology of Lynn Margulis and in contemporary theories on artificial life", going on to state that the film's exploration of the Gaia hypothesis raised interesting questions regarding the life and death process of both cinema and digital media, as well as contemporary life sciences, cybernetics, philosophy and science fiction. The concept of artificial life and resurrection was also discussed, and compared to similar themes in the 1914 book Locus Solus; the Phantoms in The Spirits Within were considered to be brought to life by various forces: by the alien planet's red Gaia and then by human spiritual energy.

Character design

Each character's base body model was built from more than 100,000 polygons, plus more than 300,000 for clothing alone. Aki's character model bears 60,000 hairs, each of which were separately and fully animated and rendered. In creating the characters, designers had to transition between using PowerAnimator, Autodesk Maya and RenderMan.

Aki's appearance was conceived by the lead animator of the project, Roy Sato, who created several conceptual designs for Sakaguchi to consider, and then used the selected design as a guide for her character model. Sato perceived Aki's original look as a "supermodel", and subsequently removed her make-up and shortened her hair in order to give her a more intelligent look that would "convince people that she's a scientist". In an interview, Sato described actively trying to make her appear as realistic as possible, making her similar to himself in as many ways as he could in the animation, including elements of his personality through facial expressions. He concluded that Aki ended up being similar to him in almost every way, with the exception that "she's a lot cuter". The model for Aki was designed to closely follow human appearance, with Sakaguchi commenting in an interview: "I think it's OK to look at Aki and be convinced that she's a human".