James Cameron first wrote a scriptment in 1994, and had intended to direct the film after finishing work on Titanic. However, he postponed making the film because the technology had not yet advanced to the level required for the ambitious visuals that he envisioned. Work began on Avatar in earnest around 2005 and principal photography commenced in April 2007, lasting until December of that year. Avatar was released in December 2009.