The director of the mega-hit movies " Avatar " and " Titanic " spent the previous two days visiting Indian villages near the proposed site of the dam on the Xingu River , which feeds the Amazon River .