The film Thor 's main characters were cast before 2010 and the shooting occurred between January and May 2010 .
The main characters were cast in 2009 , and principal photography took place in California and New Mexico from January to May 2010 .