Star Trek: The Motion Picture received mixed reviews from critics. Its final production cost ballooned to approximately $46 million and earned $139 million at the worldwide box office. It fell short of studio expectations, but enough for Paramount to propose a cheaper costing sequel. Roddenberry was forced out of creative control for the production of the film’s 1982 sequel, Star Trek II: The Wrath of Khan.

In Roddenberry’s place came Harve Bennett, showrunner of The Six Million Dollar Man and The Bionic Woman. With Paramount seeking to reduce spendings due to the excesses of its predecessor, many of the sets were reused, special effect models already built, and special effects sequences replayed wholesale in an effort to save money.

Bennett wrote the first storyboard treatment, the key plot points were similar to what ended up in the finished movie; Kirk’s archenemy Khan has stolen a Federation superweapon and is using it to stage a coup on a distant planet, with the help of Kirk’s son.

Even with strict budget limitations, one thing they could not cut back on was the specific CGI sequence, the terraforming sequence that describes Project Genesis to the audience. The large terraforming sequence could only be done in animation and was the first completely computer-generated cinematic image (CGI) sequence in a feature film, created by Lucasfilm’s Industrial Light and Magic (ILM).

The “genesis effect” scene featured an entire fractally-landscaped planet by ILM. Loren Carpenter was later largely responsible for developing this fractally-landscaped planet. Carpenter had created the first realistic computer-generated film using fractal geometry— the two-minute short, called ‘Vol Libri’.

The sequence was later used as an advert for the skills of Lucasfilm Computer Imaging. The clip impressed a young Steve Jobs enough to part with $5 million to buy out the division, which renamed itself Pixar.

Spock’s death was important. At this point in his career, Leonard Nimoy was tired of the franchise and suspecting Khan might be the last outing for Trek, he wanted to go out with a bang. However, test audiences reacted badly to Spock’s death and the film’s ending’s dark tone, so it was made more uplifting by Bennett. The scene of Spock’s casket on the planet and Nimoy’s closing monologue were therefore added. Nimoy did not know about the scene until he saw the film, but before it opened, the media reassured fans that “Spock will live” again.

After the positive critical and commercial reaction to The Wrath of Khan. Review aggregator Rotten Tomatoes reports that 88% of selected critics have given the film a positive review based on a sample of 49. Nimoy would not only return to the role of Spook but also direct Star Trek III: The Search for Spook.