Commit 41906b57 authored by SHAH YASH's avatar SHAH YASH

Added lab2 files

parent 97742745
********HONOR CODE**************
We pledge on our honour that we have not given or received any unauthorized assistance on this assignment or any previous task.
********************************
*********CONTRIBUTIONS**********
160050057 KUMAR SAURAV : Q. 3,4
160050056 KUMAR SAUNACK : Q. 2,5
160050002 YASH SHAH : Q. 1,4
********************************
*********CITATIONS**************
https://unix.stackexchange.com/questions/294371/how-to-obtain-grep-exit-status-into-a-variable
https://stackoverflow.com/questions/16917623/use-sed-with-ignore-case-while-adding-text-before-some-pattern
https://superuser.com/questions/204726/search-for-an-exact-word-in-vim-command-mode/204728
https://www.cyberciti.biz/faq/linux-list-just-directories-or-directory-names/
http://ryanstutorials.net/bash-scripting-tutorial/bash-if-statements.php
********************************
#!/bin/bash
n=$1
n1=n+1
echo $((n*n1/2))
./script1.sh 5 >> out
./script1.sh 10 >> out
./script1.sh 20 >> out
diff out output/testcase >> result
if [[ -s result ]];
then
echo fail
else
echo success
fi
rm out result
#!/bin/bash
ls -l $1 | grep "^d" | wc -l
mkdir testcase
mkdir testcase/test1
mkdir testcase/test2
mkdir testcase/test1\ test2/
./script2.sh testcase > out
echo 3 > tc
diff out tc > result
if [[ -s result ]];
then
echo fail
else
echo success
fi
rm -r testcase
rm tc out result
#!/bin/bash
list=$(cat $1);
for name in $list;
do
if ! ls -d */ | grep -q "^$name/";
then
mkdir $name
echo "created $name";
else
echo "could not create $name";
fi
done
./script3.sh testcase/input1 > out
diff out testcase/output1 >> result
rm -r test1 test2
./script3.sh testcase/input2 > out
diff out testcase/output2 >> result
rm -r test1 test2 test3
if [[ -s result ]];
then
echo fail
else
echo success
fi
rm out result
created test1
created test2
could not create test1
created test1
created test2
created test3
#!/bin/bash
list=$(cat $1);
max="a";
min="b";
for num in $list;
do
if [ $max == "a" ]
then
max=$num;
elif [ $max -lt $num ]
then
min=$max;
max=$num;
elif [ $min == "b" ]
then
min=$num;
elif [ $min -lt $num ]
then
min=$num;
fi
done
echo $(( $max + $min));
echo $(( $max * $min));
./script4.sh testcase/input1 >> out
./script4.sh testcase/input2 >> out
./script4.sh testcase/input3 >> out
diff out testcase/output >> result
if [[ -s result ]];
then
echo fail
else
echo success
fi
rm out result
30 79 83 77 7 12 61 16 92 27 19 47 39 72 0 94 24 36 32 34 0 87 78 20 2 25 81 38 66 70 70 97 1 5 26 9 18 87 77 62 15 96 9 6 21 61 0 97 50 85
\ No newline at end of file
966 822 958 943 12 611 862 694 740 795 602 520 494 837 937 822 703 298 545 369 921 466 835 917 415 208 362 223 131 98 178 449 920 489 745 284 452 607 330 192 402 285 712 248 122 1 423 825 652 968 547 573 786 734 842 202 295 204 777 426 302 307 227 575 796 972 859 249 579 542 793 333 827 858 582 949 211 5 775 863 973 674 788 759 408 630 313 703 834 90 481 489 398 709 64 546 681 275 147 613
\ No newline at end of file
21971 82218 57150 60531 7171 5488 37570 56187 22386 92198 66073 81525 19617 91763 27274 78605 62649 13756 30795 13318 30399 31293 10187 89654 48192 26083 42324 38169 54175 45687 87776 92498 44258 44926 53029 67781 50415 6951 23968 89153 99150 6394 87030 35119 98157 14304 13724 77158 44412 60871 90476 74812 92164 17015 80818 56708 43099 23143 11230 13626 85182 99006 6124 45792 43932 75505 13573 10699 82456 53894 16204 81606 60288 19587 33077 74797 50243 46801 51955 94656 24024 58783 85820 32541 75799 82990 89249 35250 22485 16831 65228 7668 32189 71352 69812 92474 63209 83386 3173 62017 37280 35730 59976 13920 55317 93053 88717 21912 39855 57024 32920 80231 32159 18740 12772 7958 18083 18374 59560 40568 51557 24788 48236 83747 12492 18049 76221 75701 17787 95746 37719 71419 31476 97695 85339 3145 90748 90408 25058 46955 63784 57978 43539 95943 93071 56311 20254 11154 91037 79814 51722 42595 20955 16311 26342 33447 50712 2563 25501 84851 14661 79572 56270 46138 93619 57961 65635 719 64721 7045 64027 28505 81376 7566 40800 90799 63877 61054 18305 71267 57221 86379 13862 94528 2690 40204 27975 69754 59119 69828 54605 90132 49400 27227 52622 59371 85188 18258 60091 49909 41655 24118 94766 23031 48036 35567 13830 11913 12973 32135 99532 70194 18515 13394 64722 37557 69950 9050 23664 45421 95230 94621 35554 60983 21849 88176 20354 7037 22786 80445 73299 64442 20915 68065 87473 68951 19984 17656 97217 32958 66143 96749 3152 1010 26496 84227 54920 96446 93277 78584 58220 4859 73205 93774 65842 95054 98302 86197 18444 21089 82994 8095 85531 3910 92512 89356 89213 12497 23364 2782 45455 5860 15884 64959 6870 42380 49186 61790 38826 58815 56726 97046 63675 29932 7172 29517 41338 5475 32066 76134 42916 15061 84229 44799 35323 76742 50507 40888 5591 73872 43671 51046 79732 59555 16005 2954 1935 81544 64745 57113 40359 37823 70512 20386 67755 94036 49904 25446 99511 98322 17932 58779 13383 18514 3578 65058 11608 54086 5947 17199 44310 49618 68245 40394 25525 602 43348 43812 82146 24445 925 22506 62269 87789 59244 46376 81826 9148 88174 97689 23823 6107 56469 37206 24621 60047 18617 52581 14133 24564 69780 74795 90534 54377 15189 16059 54979 58538 76223 37126 99335 77148 75984 61604 81290 35228 7981 63116 60729 12507 60805 84552 18614 17274 38110 59587 77322 56727 12168 7807 97643 81948 82603 88177 52677 14144 20588 7657 72682 96811 61135 72018 90312 37119 49974 71602 88699 74307 51070 49428 86815 11875 50332 21781 45502 88443 81369 39176 61522 9889 63335 59166 91838 45938 47343 44515 76435 84284 68524 65469 81095 29659 37487 87759 83130 3814 75713 71830 78121 26783 37610 81288 55011 87943 3070 513 92738 84439 56041 54260 94328 19376 29778 2518 81667 93474 63386 58102 77758 48262 23571 75205 77922 77411 79317 61052 81225 55030 49234 75698 98166 86845 56987 53177 74788 60057 70042 83878 60848 26083 54490 71528 45459 84269 74047 27126 77743 53785 1580 71853 2047 25152 47058 96321 18915 26375 73726 140 97758 22960 92190 95924 9805 49177 49101 945 25586 35495 84823 86434 61578 55666 74315 23389 39935 48362 66868 34030 18499 68448 5883 36898 93600 69293 33220 12515 12021 6946 29007 9779 46258 21198 22055 72416 86727 87508 73361 28666 23003 74537 31452 84581 30203 5767 7970 86490 70481 74838 20520 88980 59639 42755 42231 69591 12048 75451 98459 40421 98749 27466 50200 61359 65016 88607 33775 68096 76115 7137 96762 99118 98026 28214 51 28229 33982 24374 31071 4463 15564 51591 9796 75203 94346 52027 44795 22746 43830 43254 63168 58931 87072 29720 20290 52089 18328 54066 36537 94443 77555 33299 93562 75581 77865 9965 20162 11847 34339 51233 32663 49904 2824 42459 25107 13522 10838 69902 52620 54668 29508 15788 13599 16581 61861 33889 85022 80189 4307 21559 90984 81862 71210 898 57443 49075 10864 77605 60923 45203 28838 93586 95107 48014 52397 36567 77888 63235 22821 30509 17903 52330 62649 47854 68911 24510 98095 70285 21051 2403 91844 28388 84265 63054 29286 41709 12129 56502 19314 89404 18058 64505 99342 29517 28871 68091 66084 6760 31326 88906 53621 65581 57588 16270 29787 42851 57133 27883 13136 94536 30286 4980 22924 14551 84386 68563 56260 12867 25065 91927 18624 43123 72784 17966 72641 1655 86058 55077 24767 33736 60335 78388 15670 17923 11011 45457 60774 84496 73340 73910 79032 3626 95242 18309 18178 79628 3224 90790 8848 28289 99069 27472 87765 71853 61790 76758 89861 64200 31835 14628 97937 8523 93017 13607 26446 20380 75416 87221 4876 48757 61131 260 68735 56374 34921 86913 52354 38145 94056 77554 66435 93125 5026 70552 64979 66817 63662 54840 31017 11849 85820 45306 20372 95189 75265 46819 15569 50682 34040 36797 15791 11523 53410 84526 84249 88331 71440 36604 26477 81848 30510 9264 74973 35537 79816 56304 18706 43478 27496 66075 71679 13317 27734 92052 8506 2999 38871 40428 70033 89263 93577 85824 786 46987 70351 85036 35319 58143 37992 61796 39991 68502 71060 31316 20391 67228 87621 55449 27058 15117 37877 98737 44786 65611 90789 69645 68610 29660 26425 38644 35275 20002 40820 36062 66990 11171 37450 18661 85666 91794 80457 25657 76648 67869 56974 97040 35097 60947 68841 62155 92416 6718 60892 53555 72329 68034 23200 57292 14046 49625 12288 49322 85979 53108 1736 69321 80632 39186 87982 66298 30980 84791 8308 7628 52660 81634 21020 4109 42581 89862 82616 34997 12932 59861 88552 1614 27895 28104 58906 41941 94081 87546 7615 80061 57006 9351 49382 37638 64889 53717 20289 95869 38508 28597 19850 91169 10231 40870 11630 52812 47084 94247 4161 60017 54108 9066 61631 98355 53522 36889 56648 47604 24435 64264 44017 97793 89967 93399 35432 54857 47116 55721 67078 1977 670 86928 93146 10901 44151 21128 80065 91235 15375 578 67604 85835 9644 29235 84190 79519 82476 57191 27123 6911 21455 71140 21057 27774 80891 56489 82631 44360 28562 49710 46337 45584 36638 55835 56485 80789 76963 52902 88377 8691 53480 55981 94526 79477 1569 95069 58996 84045 52260 2471 7309 90067 73611 28366 17841 70854 1207 16825
194
9409
1945
945756
198682
9868597800
#!/bin/bash
sed 's/\<mighty\>/dumb/Ig' $1
./script5.sh testcase/input > out
diff out testcase/output > result
if [[ -s result ]];
then
echo fail
else
echo success
fi
rm out result
Thor is a 2011 American superhero film based on the Marvel Comics character of the same name, produced by Marvel Studios and distributed by Paramount Pictures.[N 1] It is the fourth film in the Marvel Cinematic Universe. The film was directed by Kenneth Branagh, written by Ashley Edward Miller & Zack Stentz and Don Payne, and stars Chris Hemsworth, Natalie Portman, Tom Hiddleston, Stellan Skarsgård, Colm Feore, Ray Stevenson, Idris Elba, Kat Dennings, Rene Russo and Anthony Hopkins. The film sees Thor, the crown prince of Asgard, banished to Earth and stripped of his powers after he reignites a dormant war. As his brother, Loki, plots to take the throne for himself, Thor must prove himself worthy and reclaim his hammer Mjolnir.
Sam Raimi first developed the concept of a film adaptation of Thor in 1991, but soon abandoned the project, leaving it in "development hell" for several years. During this time, the rights were picked up by various film studios until Marvel Studios signed Mark Protosevich to develop the project in 2006, and planned to finance it and release it through Paramount Pictures. Matthew Vaughn was originally assigned to direct the film for a tentative 2010 release. However, after Vaughn was released from his holding deal in 2008, Branagh was approached and the film's release was rescheduled into 2011. The main characters were cast in 2009, and principal photography took place in California and New Mexico from January to May 2010. The film was converted to 3D in post-production.
Thor premiered on April 17, 2011, in Sydney, Australia and was released on May 6, 2011, in the United States. The film was a financial success and received positive reviews from film critics. The DVD and Blu-ray sets were released on September 13, 2011. A sequel, Thor: The Dark World, was released on November 8, 2013. A third film, Thor: Ragnarok, is set to be released on November 3, 2017.
In 965 AD, Odin, king of Asgard, wages war against the Frost Giants of Jotunheim and their leader Laufey, to prevent them from conquering the nine realms, starting with Earth. The Asgardian warriors defeat the Frost Giants and seize the source of their power, the Casket of Ancient Winters.
In the present,[N 2] Odin's son Thor prepares to ascend to the throne of Asgard, but is interrupted when Frost Giants attempt to retrieve the Casket. Against Odin's order, Thor travels to Jotunheim to confront Laufey, accompanied by his brother Loki, childhood friend Sif and the Warriors Three: Volstagg, Fandral, and Hogun. A battle ensues until Odin intervenes to save the Asgardians, destroying the fragile truce between the two races. For Thor's arrogance, Odin strips his son of his godly power and exiles him to Earth as a mortal, accompanied by his hammer Mjolnir, now protected by an enchantment that allows only the worthy to wield it.
Thor lands in New Mexico, where astrophysicist Dr. Jane Foster, her assistant Darcy Lewis, and mentor Dr. Erik Selvig, find him. The local populace finds Mjolnir, which S.H.I.E.L.D. agent Phil Coulson soon commandeers before forcibly acquiring Jane's data about the wormhole that delivered Thor to Earth. Thor, having discovered Mjolnir's nearby location, seeks to retrieve it from the facility that S.H.I.E.L.D. quickly constructed but he finds himself unable to lift it, and is captured. With Selvig's help, he is freed and resigns himself to exile on Earth as he develops a romance with Jane.
Loki discovers that he is Laufey's biological son, adopted by Odin after the war ended. A weary Odin falls into the deep "Odinsleep" to recover his strength. Loki seizes the throne in Odin's stead and offers Laufey the chance to kill Odin and retrieve the Casket. Sif and the Warriors Three, unhappy with Loki's rule, attempt to return Thor from exile, convincing Heimdall, gatekeeper of the Bifröst—the means of traveling between worlds—to allow them passage to Earth. Aware of their plan, Loki sends the Destroyer, a seemingly indestructible automaton, to pursue them and kill Thor. The warriors find Thor, but the Destroyer attacks and defeats them, prompting Thor to offer himself instead. Struck by the Destroyer and near death, Thor's sacrifice proves him worthy to wield Mjolnir. The hammer returns to him, restoring his powers and enabling him to defeat the Destroyer. Kissing Jane goodbye and vowing to return, he and his fellow Asgardians leave to confront Loki.
In Asgard, Loki betrays and kills Laufey, revealing his true plan to use Laufey's attempt on Odin's life as an excuse to destroy Jotunheim with the Bifröst Bridge, thus proving himself worthy to his adoptive father. Thor arrives and fights Loki before destroying the Bifröst Bridge to stop Loki's plan, stranding himself in Asgard. Odin awakens and prevents the brothers from falling into the abyss created in the wake of the bridge's destruction, but Loki allows himself to fall when Odin rejects his pleas for approval. Thor makes amends with Odin, admitting he is not ready to be king; while on Earth, Jane and her team search for a way to open a portal to Asgard.
In a post-credits scene, Selvig has been taken to a S.H.I.E.L.D. facility, where Nick Fury opens a briefcase and asks him to study a mysterious cube-shaped object,[N 3] which Fury says may hold untold power. An invisible Loki prompts Selvig to agree, and he does.
The crown prince of Asgard, based on the Norse mythological deity of the same name. Director Kenneth Branagh and Marvel Studios chief Kevin Feige chose Hemsworth after a back-and-forth process in which the 27-year-old actor was initially dropped from consideration and then given a second chance to read for the part.[11] Hemsworth stated that he gained 20 pounds for the role by eating non-stop and revealed that "It wasn't until Thor that I started lifting weights, it was all pretty new to me."[12] Regarding his take on the character, Hemsworth said, "We just kept trying to humanize it all, and keep it very real. Look into all the research about the comic books that we could, but also bring it back to 'Who is this guy as a person, and what's his relationship with people in the individual scenes?'"[13] About approaching Thor's fighting style, he remarked, "First, we looked at the comic books and the posturing, the way [Thor] moves and fights, and a lot of his power seems to be drawn up through the ground. We talked about boxers, you know, Mike Tyson, very low to the ground and big open chest and big shoulder swings and very sort of brutal but graceful at the same time, and then as we shot stuff things became easier."[14] Dakota Goyo portrays a young Thor.
A scientist and Thor's love interest. Marvel Studios stated in an announcement that the character was updated from the comics' initial portrayal for the feature adaptation.[15] When asked why she took the role, Portman replied, "I just thought it sounded like a weird idea because Kenneth Branagh's directing it, so I was just like, 'Kenneth Branagh doing Thor is super-weird, I've gotta do it.'"[16] Portman stated that she really wanted to do a big effects film that emphasized character, and getting to do it with Branagh was a new way of approaching it, relative to Star Wars.[17] Regarding her preparation for the role Portman remarked, "I signed on to do it before there was a script. And Ken, who's amazing, who is so incredible, was like, 'You can really help create this character'. I got to read all of these biographies of female scientists like Rosalind Franklin who actually discovered the DNA double helix but didn't get the credit for it. The struggles they had and the way that they thought – I was like, 'What a great opportunity, in a very big movie that is going to be seen by a lot of people, to have a woman as a scientist'. She's a very serious scientist. Because in the comic she's a nurse and now they made her an astrophysicist. Really, I know it sounds silly, but it is those little things that makes girls think it's possible. It doesn't give them a [role] model of 'Oh, I just have to dress cute in movies'".[18]
Thor's adoptive brother and nemesis based on the deity of the same name. Hiddleston was chosen after previously working with Branagh on Ivanov and Wallander.[19] Initially, Hiddleston auditioned to play Thor but Branagh decided his talent would be better harnessed playing Loki. Hiddleston stated that, "Loki's like a comic book version of Edmund in King Lear, but nastier." Hiddleston stated that he had to keep a strict diet before the start of filming because "Ken [Branagh] wants Loki to have a lean and hungry look, like Cassius in Julius Caesar. Physically, he can't be posing as Thor".[20] Hiddleston looked at Peter O'Toole as inspiration for Loki as well explaining, "Interestingly enough, [Kenneth Branagh] said to look at Peter O'Toole in two specific films, The Lion in Winter and Lawrence of Arabia. What's interesting about ... his performance [as King Henry] is you see how damaged he is. There's a rawness [to his performance]; it's almost as if he's living with a layer of skin peeled away. He's grandiose and teary and, in a moment, by turns hilarious and then terrifying. What we wanted was that emotional volatility. It's a different acting style, it's not quite the same thing, but it's fascinating to go back and watch an actor as great as O'Toole head for those great high hills".[21] Ted Allpress portrays a young Loki.
A scientist doing research in New Mexico who encounters Thor.[22] Skarsgård stated that he was not initially familiar with the comic book version of Thor.[23] As to why he took the part, Skarsgård remarked, I "chose Thor because of [director] Kenneth Branagh. The script was nice and we got to rehearse and talk to the writers and do some collaborating in the process to make it fit us. So I had a very happy time on it. What I always try to do is immediately do something I just haven't done so I get variation in my life. I've made about 90 films and if I did the same thing over and over again I would be bored by now. I try to pick different films, I go and do those big ones and having done that I can usually afford to go and do some really small obscure films and experiment a little".[24]
King of the Frost Giants and Loki's biological father, based on the mythological being of the same name, who in myth was actually Loki's mother.[25] Feore stated it took five hours for his makeup to be applied.[26] About his character Feore remarked, "I am the King of Frost Giants. And if you've seen any of the Frost Giants, you know that I am, of course, the Napoleon of Frost Giants. We've got some massive, fabulous guys who dwarf me and come in at around eight-and-a-half feet, nine feet. But, no. Can't you tell by the commanding presence? I am the boss".[25] He said the Shakespearean training he shared with Hopkins and director Branagh helped keep production moving briskly, saying that "during the breaks, Tony, myself and Ken would be talking in Shakespearean shorthand about what the characters were doing, what we thought they may be like, and how we could focus our attention more intelligently. These were discussions that took no more than a few minutes between takes, but they allowed Ken, Tony and [me] to understand each other instantly without Ken taking an hour away to explain to the actors exactly what was going on. So that was enormously helpful."[27]
A member of the Warriors Three; a group of three Asgardian adventurers who are among Thor's closest comrades, known for both his hearty appetite and wide girth.[28] Stevenson previously worked with Kenneth Branagh in the 1998 film The Theory of Flight, and with Marvel Studios as the titular character in Punisher: War Zone. Stevenson wore a fat suit for the role, stating, "I've tried the suit on, and what they've done is kind of sex him up: he's sort of slimmer but rounder.". Stevenson said, "He's got every bit of that Falstaffian verve and vigor, and a bit of a beer gut to suggest that enormous appetite, but he's not the sort of Weeble-shaped figure he is in the comics. He's Falstaff with muscles. I've got this amazing foam-injected undersuit that flexes with me."[29]
Sam Raimi originally envisioned the idea for Thor after making Darkman (1990); he met Stan Lee and pitched the concept to 20th Century Fox, but they did not understand it.[62] Thor was abandoned until April 1997, when Marvel Studios was beginning to expand rapidly.[63] The film gained momentum after the success of X-Men (2000). The plan was for Thor to be made for television. UPN was in talks for airing it; excited by the prospect, they pushed for a script and approached Tyler Mane to play Thor.[64] In May 2000, Marvel Studios brought Artisan Entertainment to help finance it as a film, but by June 2004 the project still had yet to be patronised by a studio.[65][66][67] Sony Pictures Entertainment finally purchased the film rights, and in December 2004 David S. Goyer was in negotiations to write and direct.[68] By 2005, though there were talks between Goyer and Marvel, Goyer was no longer interested, though at this point the film was still set to be distributed through Sony Pictures.[69]
Mark Protosevich, a fan of the Thor comic book, agreed to write the script in April 2006, and the project moved to Paramount Pictures, after it acquired the rights from Sony.[70] That year the film was announced to be a Marvel Studios production.[71] In December 2007, Protosevich described his plans for it "to be like a superhero origin story, but not one about a human gaining super powers, but of a god realizing his true potential. It's the story of an Old Testament god who becomes a New Testament god".[72] In August 2007 Marvel Studios signed Matthew Vaughn to direct the film.[73] Vaughn then rewrote Protosevich's script in order to bring down the budget to $150 million, as Protosevich's first draft would have cost $300 million to produce.[6] He intended to start filming in late 2008[74] and after the success of Iron Man, Marvel Studios announced that they intended to release Thor on June 4, 2010, with Iron Man 2 being used to introduce the character of Thor.[75]
Vaughn was released when his holding deal expired in May 2008, at which point Marvel set Protosevich to work on a new draft and began searching for a new director.[77] Guillermo del Toro entered talks to direct the film. Del Toro was a fan of Jack Kirby's work on the comics, and said that he loved the character of Loki, but wished to incorporate more of the original Norse mythology into the film,[78] including a "really dingy Valhalla, [with] Vikings and mud".[79] However, del Toro ultimately turned down Thor to direct The Hobbit. By September 2008 D. J. Caruso had been discussing taking on the project, though he did not read the script.[80] Later that month, Kenneth Branagh entered into negotiations to direct,[81] and by December 2008, Branagh confirmed that he had been hired. He described it as "a human story right in the center of a big epic scenario."[82] Branagh stated that he hoped to begin filming in January 2010[83] and Marvel Studios set back the release date of the film from its scheduled July 16, 2010 date to June 17, 2011, almost a full year later.[84] They later moved the release date to May 20, 2011, to distance the film's release from that of Captain America: The First Avenger, another Marvel Studios film that was scheduled to be released on July 22, 2011.[85] In October 2008, Daniel Craig was offered the role, but ultimately turned it down, citing his commitments to the James Bond franchise.[86]
In February 2009, Samuel L. Jackson, who had briefly portrayed Nick Fury at the end of the film Iron Man, signed on to reprise the role in Thor as part of an unprecedented nine-picture deal with Marvel Studios.[59] However, in an April 2010 interview, Jackson stated that he would not be appearing in Thor. When asked why not Jackson explained, "I have no idea. I'm not in charge of making those kinds of decisions. I thought I was; they said I was in the trades, and I was like, 'Ooh! I got a job!' I called my agent he said, 'Naw, you're not in it.' I was like, 'Well shit, they need to pay me if they're gonna put my name in it.'"[87] Later in the month, Jackson revealed that he would be filming a scene for Thor to serve as "connective tissue" for The Avengers.[88] Also in February, a casting call went out looking for actors with certain physical attributes to audition for the role of Thor.[89]
In May 2009, Chris Hemsworth was in negotiations to portray the title role after a back-and-forth process in which the 25-year-old actor was refused early on, then given a second chance to read for the part. Hemsworth's brother, Liam also auditioned for the role, but was passed on by Marvel Studios head Kevin Feige.[11] The next day, Marvel announced that Tom Hiddleston, who had worked with Branagh before and had initially been considered to portray the lead role, had been cast as Loki.[19] In June 2009, Feige confirmed that both Hemsworth and Hiddleston had signed on.[90] Feige mentioned that the film would take place on both modern day Earth and Asgard but Thor's human host, Dr. Donald Blake, would not be included.[90] In July 2009, Marvel announced that Natalie Portman would portray Jane Foster.[15] Jaimie Alexander and Colm Feore were reported to have joined the cast in September, with Alexander portraying Sif and Feore's role unrevealed, though it was thought to be a villain.[49] In an interview with Swedish news site Ystads Allehanda, Stellan Skarsgård stated that he had joined the cast, though he did not specify his role.[22] By late October Anthony Hopkins had been cast as Odin in the film.[42] The following month, Marvel announced that they had cast the Warriors Three; Fandral was to be played by Stuart Townsend, Hogun was to be played by Tadanobu Asano and Volstagg was to be played by Ray Stevenson.[28] Idris Elba was announced to have joined the cast, portraying Heimdall.[30] Natalie Portman revealed that Kat Dennings would be involved in the project, portraying Darcy, a coworker of Portman's Jane Foster.[37][91]
In December 2009, Rene Russo was cast as Frigga, Thor's stepmother and Odin's wife.[40] Later that month, actors Joseph Gatt, Troy Brenna, and Joshua Cox had been cast in the film, though none of their roles were revealed.[54] In January 2010, Adriana Barraza had joined the film's cast, in a supporting capacity.[92] Only days before filming began, Stuart Townsend was replaced by Joshua Dallas as Fandral, citing "creative differences".[48] When Spider-Man 4's production stalled, Paramount and Marvel Entertainment pushed up the release of Thor by two weeks to the then vacated date of May 6, 2011.[93]
The Science & Entertainment Exchange introduced Marvel Entertainment, Kenneth Branagh, "the screenwriter, and a few people on the design and production side of things" to three physicists (Sean Carroll, Kevin Hand, and Jim Hartle), as well as physics student Kevin Hickerson, to provide a realistic science background for the Thor universe. The consultation resulted in a change in Jane Foster's profession, from nurse to particle physicist, and the terminology (Einstein-Rosen bridge) to describe the Bifrost Bridge.[94]
In October 2008, Marvel Studios signed a long-term lease agreement with Raleigh Studios to photograph their next four films—Iron Man 2, Thor, Captain America: The First Avenger and The Avengers—at Raleigh's Manhattan Beach, California facility.[95] Production Weekly reported that filming on Marvel's Thor was scheduled to begin in Los Angeles mid-January, then move to Santa Fe, New Mexico from March until late-April.[96] Principal photography began on January 11, 2010.[97] A few days after filming began, Clark Gregg signed on to reprise his role from Iron Man and Iron Man 2 as Agent Coulson.[53] In February, Paramount Pictures entered negotiations with Del Mar, California to use a 300-yard stretch of beach to film a scene for Thor involving six horses running down the terrain. Paramount said this coastline was ideal because its gradual slope of sand down to the waterline creates excellent reflective opportunities on film.[98] On March 15, 2010 production of Thor moved to Galisteo, New Mexico, where an old-fashioned Western film town was extensively modified for the shoot.[99][100]
Branagh, a fan of the comic book since childhood, commented on the challenge of bridging Asgard and the modern world: "Inspired by the comic book world both pictorially and compositionally at once, we've tried to find a way to make a virtue and a celebration of the distinction between the worlds that exist in the film but absolutely make them live in the same world. It's about finding the framing style, the color palette, finding the texture and the amount of camera movement that helps celebrate and express the differences and the distinctions in those worlds. If it succeeds, it will mark this film as different.... The combination of the primitive and the sophisticated, the ancient and the modern, I think that potentially is the exciting fusion, the exciting tension in the film".[101]
By April, the prospect for filming parts of Thor in Del Mar, California had fallen through. Paramount Pictures sent a letter informing the city that it has instead chosen an undisclosed Northern California location to film a beachfront scene for the film. The letter cited cost concerns with moving production too far away from its
In October 2010, casting calls revealed the film would be undergoing an undisclosed number of reshoots.[103] In March 2011, scenes involving Adriana Barraza were removed from the theatrical cut of the film during the editing process. Branagh sent a letter of apology explaining the reasons for the cut and desire to work with Barraza again in the future. In response Barraza stated, "It saddens me because the movie is great and because I was acting alongside some tremendous actors that I admire very much, but I understand the nature of films, and it's not the first or last time that scenes will be cut".[104] Barraza appears in only one scene in the film's theatrical cut. In that same month, Douglas Tait revealed that he performed for motion capture of the Frost Giants.[105] On his hiring, Tait said "I am 6'5" and have a lean, athletic build, and they hired guys who were 6'7" and taller, and weighed over 250 pounds (110 kg). When the film was being edited, they wanted to make them even bigger and move faster. They auditioned people again and Kenneth Branagh chose me to perform the motion capture movements of the Frost Giants".[105] In April 2011, the IMAX Corporation, Paramount Pictures and Marvel Entertainment announced that they have finalized an agreement to release the film in IMAX 3D, continuing the partnership which began on Iron Man 2.[106] Branagh stated that the 3-D process initially made him cringe but said "We came to feel that in our case 3-D could be the very good friend of story and character for a different kind of experience". Although the film was shot in 2D, Feige stated that the "special effects for the film were conceived and executed from the beginning in 3D".[107] The post-credits scene that sees Nick Fury approach Erik Selvig to ask him to study the Tesseract, was directed by The Avengers's director, Joss Whedon.[108]
BUF Compagnie served as the lead visual effects vender working on the film,[109] with Digital Domain also providing work on the film.[110] Branagh stated that BUF, who developed the effects for the race through space, were inspired by Hubble photography and other images of deep space. Branagh stated he sent paintings from classic studies by J. M. W. Turner to Digital Domain when creating Jotunheim.[111] Peter Butterworth, VFX supervisor and co-founder of Fuel VFX, said the most challenging task was interpreting what the Bifröst would look like, "You can't Google what these things look like—they are totally imagined and within the heads of the stakeholders. So to extract that and interpret it for the big screen was an interesting challenge creatively. Technically, probably creating fluid simulations that could be art-directed and used for both the Bifröst and Odin's chamber shots. Part of the difficulty with solving these is that we had to ensure they would work in stereo.[112] In the film, Odin enters what is known as the "Odinsleep" in his chamber to regenerate. Butterworth stated, "For Odin's Chamber, we developed a dome and curtain of light rays that hover over Odin's bed. This dome of light suggests harnessed power and energy that revitalizes him as he sleeps. We took a lot of reference from the natural world such as the corona of the sun and gave the sleep effect plenty of volume and space".[112]
In July 2010 Marvel Studios held a Thor panel at the 2010 San Diego Comic-Con International during which Kenneth Branagh and Chris Hemsworth, Natalie Portman, Kat Dennings, Tom Hiddleston, and Clark Gregg discussed the film and showed some clips from it.[17] A few days later, this footage was leaked on the internet.[124] The first television advertisement was broadcast during Super Bowl XLV on the Fox network in the United States. The rate for advertising during the game was approximately $3 million per 30-second spot.[125] Marvel Studios and Acura launched a joint viral marketing promotion at the 2011 Chicago Comic & Entertainment Expo.[126] Other official promotional partners included Burger King, Dr. Pepper, 7 Eleven, and Visa.[127] In May 2011 Marvel Entertainment's President of Print, Animation and Digital, Dan Buckley, and Marvel Comics Editor-In-Chief, Axel Alonso, rang the NYSE closing bell in celebration of the theatrical release of Thor.[128]
A post-credits scene in the film Iron Man 2 showed Coulson reporting the discovery of a large hammer in the desert. Rick Marshall of MTV News believed it to be the weapon Mjöllnir belonging to Thor, writing, "It continues the grand tradition of connecting the film to another property in development around the Marvel movie universe."[129] In the commentary track of Iron Man 2' home media, Iron Man 2's director, Jon Favreau, stated that "this is a scene from [the set of] Thor ".[130]
Marvel Animation announced a 26-episode animated series in November 2008, to air in late 2010 before the release of Marvel Studios' film.[131] The company released an animated direct-to-video film, Thor: Tales of Asgard, to coincide with the live-action film.[132]
A video game titled Thor: God of Thunder based on the film was developed by Sega using the voices and likenesses of actors Chris Hemsworth, Tom Hiddleston and Jaimie Alexander, and was released on May 3, 2011.[133]
In July 2011, Marvel Studios and Paramount Pictures announced the release of Thor on Blu-ray 3D, Blu-ray Disc and DVD. The discs were released on September 13, 2011 in three editions: a single-disc DVD, a 2-disc Blu-ray-DVD combo pack, and a 3-disc Blu-ray/DVD/3D combo pack. All sets come with deleted scenes and a "Road to The Avengers featurette. The 2-disc and 3-disc packs includes a digital copy, the first in a series of Marvel One-Shots, The Consultant, and 7 behind-the-scenes featurettes.[134]
Branagh said that the DVD includes at least 20 minutes of deleted scenes. Branagh stated the footage contains "things like the Asgardian parents, Odin and Frigga, played by the beautiful Rene Russo, there's some beautiful scenes in there that I think people will enjoy. And certainly Thor and Loki interacting in different ways that just fill in a little bit of a back story, that was part of our rehearsal and research."[135] In its first week of release, Thor took the number one spot on Blu-ray/DVD sales chart and topped Home Media Magazine's rental chart for the week.[136]
The film was also collected in a 10-disc box set titled "Marvel Cinematic Universe: Phase One – Avengers Assembled" which includes all of the Phase One films in the Marvel Cinematic Universe.[137] It was released on April 2, 2013.[138][139]
Thor is a 2011 American superhero film based on the Marvel Comics character of the same name, produced by Marvel Studios and distributed by Paramount Pictures.[N 1] It is the fourth film in the Marvel Cinematic Universe. The film was directed by Kenneth Branagh, written by Ashley Edward Miller & Zack Stentz and Don Payne, and stars Chris Hemsworth, Natalie Portman, Tom Hiddleston, Stellan Skarsgård, Colm Feore, Ray Stevenson, Idris Elba, Kat Dennings, Rene Russo and Anthony Hopkins. The film sees Thor, the crown prince of Asgard, banished to Earth and stripped of his powers after he reignites a dormant war. As his brother, Loki, plots to take the throne for himself, Thor must prove himself worthy and reclaim his hammer Mjolnir.
Sam Raimi first developed the concept of a film adaptation of Thor in 1991, but soon abandoned the project, leaving it in "development hell" for several years. During this time, the rights were picked up by various film studios until Marvel Studios signed Mark Protosevich to develop the project in 2006, and planned to finance it and release it through Paramount Pictures. Matthew Vaughn was originally assigned to direct the film for a tentative 2010 release. However, after Vaughn was released from his holding deal in 2008, Branagh was approached and the film's release was rescheduled into 2011. The main characters were cast in 2009, and principal photography took place in California and New Mexico from January to May 2010. The film was converted to 3D in post-production.
Thor premiered on April 17, 2011, in Sydney, Australia and was released on May 6, 2011, in the United States. The film was a financial success and received positive reviews from film critics. The DVD and Blu-ray sets were released on September 13, 2011. A sequel, Thor: The Dark World, was released on November 8, 2013. A third film, Thor: Ragnarok, is set to be released on November 3, 2017.
In 965 AD, Odin, king of Asgard, wages war against the Frost Giants of Jotunheim and their leader Laufey, to prevent them from conquering the nine realms, starting with Earth. The Asgardian warriors defeat the Frost Giants and seize the source of their power, the Casket of Ancient Winters.
In the present,[N 2] Odin's son Thor prepares to ascend to the throne of Asgard, but is interrupted when Frost Giants attempt to retrieve the Casket. Against Odin's order, Thor travels to Jotunheim to confront Laufey, accompanied by his brother Loki, childhood friend Sif and the Warriors Three: Volstagg, Fandral, and Hogun. A battle ensues until Odin intervenes to save the Asgardians, destroying the fragile truce between the two races. For Thor's arrogance, Odin strips his son of his godly power and exiles him to Earth as a mortal, accompanied by his hammer Mjolnir, now protected by an enchantment that allows only the worthy to wield it.
Thor lands in New Mexico, where astrophysicist Dr. Jane Foster, her assistant Darcy Lewis, and mentor Dr. Erik Selvig, find him. The local populace finds Mjolnir, which S.H.I.E.L.D. agent Phil Coulson soon commandeers before forcibly acquiring Jane's data about the wormhole that delivered Thor to Earth. Thor, having discovered Mjolnir's nearby location, seeks to retrieve it from the facility that S.H.I.E.L.D. quickly constructed but he finds himself unable to lift it, and is captured. With Selvig's help, he is freed and resigns himself to exile on Earth as he develops a romance with Jane.
Loki discovers that he is Laufey's biological son, adopted by Odin after the war ended. A weary Odin falls into the deep "Odinsleep" to recover his strength. Loki seizes the throne in Odin's stead and offers Laufey the chance to kill Odin and retrieve the Casket. Sif and the Warriors Three, unhappy with Loki's rule, attempt to return Thor from exile, convincing Heimdall, gatekeeper of the Bifröst—the means of traveling between worlds—to allow them passage to Earth. Aware of their plan, Loki sends the Destroyer, a seemingly indestructible automaton, to pursue them and kill Thor. The warriors find Thor, but the Destroyer attacks and defeats them, prompting Thor to offer himself instead. Struck by the Destroyer and near death, Thor's sacrifice proves him worthy to wield Mjolnir. The hammer returns to him, restoring his powers and enabling him to defeat the Destroyer. Kissing Jane goodbye and vowing to return, he and his fellow Asgardians leave to confront Loki.
In Asgard, Loki betrays and kills Laufey, revealing his true plan to use Laufey's attempt on Odin's life as an excuse to destroy Jotunheim with the Bifröst Bridge, thus proving himself worthy to his adoptive father. Thor arrives and fights Loki before destroying the Bifröst Bridge to stop Loki's plan, stranding himself in Asgard. Odin awakens and prevents the brothers from falling into the abyss created in the wake of the bridge's destruction, but Loki allows himself to fall when Odin rejects his pleas for approval. Thor makes amends with Odin, admitting he is not ready to be king; while on Earth, Jane and her team search for a way to open a portal to Asgard.
In a post-credits scene, Selvig has been taken to a S.H.I.E.L.D. facility, where Nick Fury opens a briefcase and asks him to study a mysterious cube-shaped object,[N 3] which Fury says may hold untold power. An invisible Loki prompts Selvig to agree, and he does.
The crown prince of Asgard, based on the Norse mythological deity of the same name. Director Kenneth Branagh and Marvel Studios chief Kevin Feige chose Hemsworth after a back-and-forth process in which the 27-year-old actor was initially dropped from consideration and then given a second chance to read for the part.[11] Hemsworth stated that he gained 20 pounds for the role by eating non-stop and revealed that "It wasn't until Thor that I started lifting weights, it was all pretty new to me."[12] Regarding his take on the character, Hemsworth said, "We just kept trying to humanize it all, and keep it very real. Look into all the research about the comic books that we could, but also bring it back to 'Who is this guy as a person, and what's his relationship with people in the individual scenes?'"[13] About approaching Thor's fighting style, he remarked, "First, we looked at the comic books and the posturing, the way [Thor] moves and fights, and a lot of his power seems to be drawn up through the ground. We talked about boxers, you know, Mike Tyson, very low to the ground and big open chest and big shoulder swings and very sort of brutal but graceful at the same time, and then as we shot stuff things became easier."[14] Dakota Goyo portrays a young Thor.
A scientist and Thor's love interest. Marvel Studios stated in an announcement that the character was updated from the comics' initial portrayal for the feature adaptation.[15] When asked why she took the role, Portman replied, "I just thought it sounded like a weird idea because Kenneth Branagh's directing it, so I was just like, 'Kenneth Branagh doing Thor is super-weird, I've gotta do it.'"[16] Portman stated that she really wanted to do a big effects film that emphasized character, and getting to do it with Branagh was a new way of approaching it, relative to Star Wars.[17] Regarding her preparation for the role Portman remarked, "I signed on to do it before there was a script. And Ken, who's amazing, who is so incredible, was like, 'You can really help create this character'. I got to read all of these biographies of female scientists like Rosalind Franklin who actually discovered the DNA double helix but didn't get the credit for it. The struggles they had and the way that they thought – I was like, 'What a great opportunity, in a very big movie that is going to be seen by a lot of people, to have a woman as a scientist'. She's a very serious scientist. Because in the comic she's a nurse and now they made her an astrophysicist. Really, I know it sounds silly, but it is those little things that makes girls think it's possible. It doesn't give them a [role] model of 'Oh, I just have to dress cute in movies'".[18]
Thor's adoptive brother and nemesis based on the deity of the same name. Hiddleston was chosen after previously working with Branagh on Ivanov and Wallander.[19] Initially, Hiddleston auditioned to play Thor but Branagh decided his talent would be better harnessed playing Loki. Hiddleston stated that, "Loki's like a comic book version of Edmund in King Lear, but nastier." Hiddleston stated that he had to keep a strict diet before the start of filming because "Ken [Branagh] wants Loki to have a lean and hungry look, like Cassius in Julius Caesar. Physically, he can't be posing as Thor".[20] Hiddleston looked at Peter O'Toole as inspiration for Loki as well explaining, "Interestingly enough, [Kenneth Branagh] said to look at Peter O'Toole in two specific films, The Lion in Winter and Lawrence of Arabia. What's interesting about ... his performance [as King Henry] is you see how damaged he is. There's a rawness [to his performance]; it's almost as if he's living with a layer of skin peeled away. He's grandiose and teary and, in a moment, by turns hilarious and then terrifying. What we wanted was that emotional volatility. It's a different acting style, it's not quite the same thing, but it's fascinating to go back and watch an actor as great as O'Toole head for those great high hills".[21] Ted Allpress portrays a young Loki.
A scientist doing research in New Mexico who encounters Thor.[22] Skarsgård stated that he was not initially familiar with the comic book version of Thor.[23] As to why he took the part, Skarsgård remarked, I "chose Thor because of [director] Kenneth Branagh. The script was nice and we got to rehearse and talk to the writers and do some collaborating in the process to make it fit us. So I had a very happy time on it. What I always try to do is immediately do something I just haven't done so I get variation in my life. I've made about 90 films and if I did the same thing over and over again I would be bored by now. I try to pick different films, I go and do those big ones and having done that I can usually afford to go and do some really small obscure films and experiment a little".[24]
King of the Frost Giants and Loki's biological father, based on the mythological being of the same name, who in myth was actually Loki's mother.[25] Feore stated it took five hours for his makeup to be applied.[26] About his character Feore remarked, "I am the King of Frost Giants. And if you've seen any of the Frost Giants, you know that I am, of course, the Napoleon of Frost Giants. We've got some massive, fabulous guys who dwarf me and come in at around eight-and-a-half feet, nine feet. But, no. Can't you tell by the commanding presence? I am the boss".[25] He said the Shakespearean training he shared with Hopkins and director Branagh helped keep production moving briskly, saying that "during the breaks, Tony, myself and Ken would be talking in Shakespearean shorthand about what the characters were doing, what we thought they may be like, and how we could focus our attention more intelligently. These were discussions that took no more than a few minutes between takes, but they allowed Ken, Tony and [me] to understand each other instantly without Ken taking an hour away to explain to the actors exactly what was going on. So that was enormously helpful."[27]
A member of the Warriors Three; a group of three Asgardian adventurers who are among Thor's closest comrades, known for both his hearty appetite and wide girth.[28] Stevenson previously worked with Kenneth Branagh in the 1998 film The Theory of Flight, and with Marvel Studios as the titular character in Punisher: War Zone. Stevenson wore a fat suit for the role, stating, "I've tried the suit on, and what they've done is kind of sex him up: he's sort of slimmer but rounder.". Stevenson said, "He's got every bit of that Falstaffian verve and vigor, and a bit of a beer gut to suggest that enormous appetite, but he's not the sort of Weeble-shaped figure he is in the comics. He's Falstaff with muscles. I've got this amazing foam-injected undersuit that flexes with me."[29]
Sam Raimi originally envisioned the idea for Thor after making Darkman (1990); he met Stan Lee and pitched the concept to 20th Century Fox, but they did not understand it.[62] Thor was abandoned until April 1997, when Marvel Studios was beginning to expand rapidly.[63] The film gained momentum after the success of X-Men (2000). The plan was for Thor to be made for television. UPN was in talks for airing it; excited by the prospect, they pushed for a script and approached Tyler Mane to play Thor.[64] In May 2000, Marvel Studios brought Artisan Entertainment to help finance it as a film, but by June 2004 the project still had yet to be patronised by a studio.[65][66][67] Sony Pictures Entertainment finally purchased the film rights, and in December 2004 David S. Goyer was in negotiations to write and direct.[68] By 2005, though there were talks between Goyer and Marvel, Goyer was no longer interested, though at this point the film was still set to be distributed through Sony Pictures.[69]
Mark Protosevich, a fan of the Thor comic book, agreed to write the script in April 2006, and the project moved to Paramount Pictures, after it acquired the rights from Sony.[70] That year the film was announced to be a Marvel Studios production.[71] In December 2007, Protosevich described his plans for it "to be like a superhero origin story, but not one about a human gaining super powers, but of a god realizing his true potential. It's the story of an Old Testament god who becomes a New Testament god".[72] In August 2007 Marvel Studios signed Matthew Vaughn to direct the film.[73] Vaughn then rewrote Protosevich's script in order to bring down the budget to $150 million, as Protosevich's first draft would have cost $300 million to produce.[6] He intended to start filming in late 2008[74] and after the success of Iron Man, Marvel Studios announced that they intended to release Thor on June 4, 2010, with Iron Man 2 being used to introduce the character of Thor.[75]
Vaughn was released when his holding deal expired in May 2008, at which point Marvel set Protosevich to work on a new draft and began searching for a new director.[77] Guillermo del Toro entered talks to direct the film. Del Toro was a fan of Jack Kirby's work on the comics, and said that he loved the character of Loki, but wished to incorporate more of the original Norse mythology into the film,[78] including a "really dingy Valhalla, [with] Vikings and mud".[79] However, del Toro ultimately turned down Thor to direct The Hobbit. By September 2008 D. J. Caruso had been discussing taking on the project, though he did not read the script.[80] Later that month, Kenneth Branagh entered into negotiations to direct,[81] and by December 2008, Branagh confirmed that he had been hired. He described it as "a human story right in the center of a big epic scenario."[82] Branagh stated that he hoped to begin filming in January 2010[83] and Marvel Studios set back the release date of the film from its scheduled July 16, 2010 date to June 17, 2011, almost a full year later.[84] They later moved the release date to May 20, 2011, to distance the film's release from that of Captain America: The First Avenger, another Marvel Studios film that was scheduled to be released on July 22, 2011.[85] In October 2008, Daniel Craig was offered the role, but ultimately turned it down, citing his commitments to the James Bond franchise.[86]
In February 2009, Samuel L. Jackson, who had briefly portrayed Nick Fury at the end of the film Iron Man, signed on to reprise the role in Thor as part of an unprecedented nine-picture deal with Marvel Studios.[59] However, in an April 2010 interview, Jackson stated that he would not be appearing in Thor. When asked why not Jackson explained, "I have no idea. I'm not in charge of making those kinds of decisions. I thought I was; they said I was in the trades, and I was like, 'Ooh! I got a job!' I called my agent he said, 'Naw, you're not in it.' I was like, 'Well shit, they need to pay me if they're gonna put my name in it.'"[87] Later in the month, Jackson revealed that he would be filming a scene for Thor to serve as "connective tissue" for The Avengers.[88] Also in February, a casting call went out looking for actors with certain physical attributes to audition for the role of Thor.[89]
In May 2009, Chris Hemsworth was in negotiations to portray the title role after a back-and-forth process in which the 25-year-old actor was refused early on, then given a second chance to read for the part. Hemsworth's brother, Liam also auditioned for the role, but was passed on by Marvel Studios head Kevin Feige.[11] The next day, Marvel announced that Tom Hiddleston, who had worked with Branagh before and had initially been considered to portray the lead role, had been cast as Loki.[19] In June 2009, Feige confirmed that both Hemsworth and Hiddleston had signed on.[90] Feige mentioned that the film would take place on both modern day Earth and Asgard but Thor's human host, Dr. Donald Blake, would not be included.[90] In July 2009, Marvel announced that Natalie Portman would portray Jane Foster.[15] Jaimie Alexander and Colm Feore were reported to have joined the cast in September, with Alexander portraying Sif and Feore's role unrevealed, though it was thought to be a villain.[49] In an interview with Swedish news site Ystads Allehanda, Stellan Skarsgård stated that he had joined the cast, though he did not specify his role.[22] By late October Anthony Hopkins had been cast as Odin in the film.[42] The following month, Marvel announced that they had cast the Warriors Three; Fandral was to be played by Stuart Townsend, Hogun was to be played by Tadanobu Asano and Volstagg was to be played by Ray Stevenson.[28] Idris Elba was announced to have joined the cast, portraying Heimdall.[30] Natalie Portman revealed that Kat Dennings would be involved in the project, portraying Darcy, a coworker of Portman's Jane Foster.[37][91]
In December 2009, Rene Russo was cast as Frigga, Thor's stepmother and Odin's wife.[40] Later that month, actors Joseph Gatt, Troy Brenna, and Joshua Cox had been cast in the film, though none of their roles were revealed.[54] In January 2010, Adriana Barraza had joined the film's cast, in a supporting capacity.[92] Only days before filming began, Stuart Townsend was replaced by Joshua Dallas as Fandral, citing "creative differences".[48] When Spider-Man 4's production stalled, Paramount and Marvel Entertainment pushed up the release of Thor by two weeks to the then vacated date of May 6, 2011.[93]
The Science & Entertainment Exchange introduced Marvel Entertainment, Kenneth Branagh, "the screenwriter, and a few people on the design and production side of things" to three physicists (Sean Carroll, Kevin Hand, and Jim Hartle), as well as physics student Kevin Hickerson, to provide a realistic science background for the Thor universe. The consultation resulted in a change in Jane Foster's profession, from nurse to particle physicist, and the terminology (Einstein-Rosen bridge) to describe the Bifrost Bridge.[94]
In October 2008, Marvel Studios signed a long-term lease agreement with Raleigh Studios to photograph their next four films—Iron Man 2, Thor, Captain America: The First Avenger and The Avengers—at Raleigh's Manhattan Beach, California facility.[95] Production Weekly reported that filming on Marvel's Thor was scheduled to begin in Los Angeles mid-January, then move to Santa Fe, New Mexico from March until late-April.[96] Principal photography began on January 11, 2010.[97] A few days after filming began, Clark Gregg signed on to reprise his role from Iron Man and Iron Man 2 as Agent Coulson.[53] In February, Paramount Pictures entered negotiations with Del Mar, California to use a 300-yard stretch of beach to film a scene for Thor involving six horses running down the terrain. Paramount said this coastline was ideal because its gradual slope of sand down to the waterline creates excellent reflective opportunities on film.[98] On March 15, 2010 production of Thor moved to Galisteo, New Mexico, where an old-fashioned Western film town was extensively modified for the shoot.[99][100]
Branagh, a fan of the comic book since childhood, commented on the challenge of bridging Asgard and the modern world: "Inspired by the comic book world both pictorially and compositionally at once, we've tried to find a way to make a virtue and a celebration of the distinction between the worlds that exist in the film but absolutely make them live in the same world. It's about finding the framing style, the color palette, finding the texture and the amount of camera movement that helps celebrate and express the differences and the distinctions in those worlds. If it succeeds, it will mark this film as different.... The combination of the primitive and the sophisticated, the ancient and the modern, I think that potentially is the exciting fusion, the exciting tension in the film".[101]
By April, the prospect for filming parts of Thor in Del Mar, California had fallen through. Paramount Pictures sent a letter informing the city that it has instead chosen an undisclosed Northern California location to film a beachfront scene for the film. The letter cited cost concerns with moving production too far away from its
In October 2010, casting calls revealed the film would be undergoing an undisclosed number of reshoots.[103] In March 2011, scenes involving Adriana Barraza were removed from the theatrical cut of the film during the editing process. Branagh sent a letter of apology explaining the reasons for the cut and desire to work with Barraza again in the future. In response Barraza stated, "It saddens me because the movie is great and because I was acting alongside some tremendous actors that I admire very much, but I understand the nature of films, and it's not the first or last time that scenes will be cut".[104] Barraza appears in only one scene in the film's theatrical cut. In that same month, Douglas Tait revealed that he performed for motion capture of the Frost Giants.[105] On his hiring, Tait said "I am 6'5" and have a lean, athletic build, and they hired guys who were 6'7" and taller, and weighed over 250 pounds (110 kg). When the film was being edited, they wanted to make them even bigger and move faster. They auditioned people again and Kenneth Branagh chose me to perform the motion capture movements of the Frost Giants".[105] In April 2011, the IMAX Corporation, Paramount Pictures and Marvel Entertainment announced that they have finalized an agreement to release the film in IMAX 3D, continuing the partnership which began on Iron Man 2.[106] Branagh stated that the 3-D process initially made him cringe but said "We came to feel that in our case 3-D could be the very good friend of story and character for a different kind of experience". Although the film was shot in 2D, Feige stated that the "special effects for the film were conceived and executed from the beginning in 3D".[107] The post-credits scene that sees Nick Fury approach Erik Selvig to ask him to study the Tesseract, was directed by The Avengers's director, Joss Whedon.[108]
BUF Compagnie served as the lead visual effects vender working on the film,[109] with Digital Domain also providing work on the film.[110] Branagh stated that BUF, who developed the effects for the race through space, were inspired by Hubble photography and other images of deep space. Branagh stated he sent paintings from classic studies by J. M. W. Turner to Digital Domain when creating Jotunheim.[111] Peter Butterworth, VFX supervisor and co-founder of Fuel VFX, said the most challenging task was interpreting what the Bifröst would look like, "You can't Google what these things look like—they are totally imagined and within the heads of the stakeholders. So to extract that and interpret it for the big screen was an interesting challenge creatively. Technically, probably creating fluid simulations that could be art-directed and used for both the Bifröst and Odin's chamber shots. Part of the difficulty with solving these is that we had to ensure they would work in stereo.[112] In the film, Odin enters what is known as the "Odinsleep" in his chamber to regenerate. Butterworth stated, "For Odin's Chamber, we developed a dome and curtain of light rays that hover over Odin's bed. This dome of light suggests harnessed power and energy that revitalizes him as he sleeps. We took a lot of reference from the natural world such as the corona of the sun and gave the sleep effect plenty of volume and space".[112]
In July 2010 Marvel Studios held a Thor panel at the 2010 San Diego Comic-Con International during which Kenneth Branagh and Chris Hemsworth, Natalie Portman, Kat Dennings, Tom Hiddleston, and Clark Gregg discussed the film and showed some clips from it.[17] A few days later, this footage was leaked on the internet.[124] The first television advertisement was broadcast during Super Bowl XLV on the Fox network in the United States. The rate for advertising during the game was approximately $3 million per 30-second spot.[125] Marvel Studios and Acura launched a joint viral marketing promotion at the 2011 Chicago Comic & Entertainment Expo.[126] Other official promotional partners included Burger King, Dr. Pepper, 7 Eleven, and Visa.[127] In May 2011 Marvel Entertainment's President of Print, Animation and Digital, Dan Buckley, and Marvel Comics Editor-In-Chief, Axel Alonso, rang the NYSE closing bell in celebration of the theatrical release of Thor.[128]
A post-credits scene in the film Iron Man 2 showed Coulson reporting the discovery of a large hammer in the desert. Rick Marshall of MTV News believed it to be the weapon Mjöllnir belonging to Thor, writing, "It continues the grand tradition of connecting the film to another property in development around the Marvel movie universe."[129] In the commentary track of Iron Man 2' home media, Iron Man 2's director, Jon Favreau, stated that "this is a scene from [the set of] Thor ".[130]
Marvel Animation announced a 26-episode animated series in November 2008, to air in late 2010 before the release of Marvel Studios' film.[131] The company released an animated direct-to-video film, Thor: Tales of Asgard, to coincide with the live-action film.[132]
A video game titled Thor: God of Thunder based on the film was developed by Sega using the voices and likenesses of actors Chris Hemsworth, Tom Hiddleston and Jaimie Alexander, and was released on May 3, 2011.[133]
In July 2011, Marvel Studios and Paramount Pictures announced the release of Thor on Blu-ray 3D, Blu-ray Disc and DVD. The discs were released on September 13, 2011 in three editions: a single-disc DVD, a 2-disc Blu-ray-DVD combo pack, and a 3-disc Blu-ray/DVD/3D combo pack. All sets come with deleted scenes and a "Road to The Avengers featurette. The 2-disc and 3-disc packs includes a digital copy, the first in a series of Marvel One-Shots, The Consultant, and 7 behind-the-scenes featurettes.[134]
Branagh said that the DVD includes at least 20 minutes of deleted scenes. Branagh stated the footage contains "things like the Asgardian parents, Odin and Frigga, played by the beautiful Rene Russo, there's some beautiful scenes in there that I think people will enjoy. And certainly Thor and Loki interacting in different ways that just fill in a little bit of a back story, that was part of our rehearsal and research."[135] In its first week of release, Thor took the number one spot on Blu-ray/DVD sales chart and topped Home Media Magazine's rental chart for the week.[136]
The film was also collected in a 10-disc box set titled "Marvel Cinematic Universe: Phase One – Avengers Assembled" which includes all of the Phase One films in the Marvel Cinematic Universe.[137] It was released on April 2, 2013.[138][139]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment