Twilight star Robert Pattinson has landed the part of photographer Dennis Stock, a close friend of James Dean, in a biopic about the legendary actor's life.

The movie, Life, will focus on the road trip around the US the two men took for a magazine shoot in 1955 and the impact it had on both their lives, according to E! News.

Dean himself will be played by 27-year-old Chronicle star, Dane DeHaan.

The movie will be helmed by Anton Corbijn, who directed 2007's Control, and will begin filming in 2014.

Pattinson can next be seen in The Rover, alongside Guy Pearce.