The movie magic that went into “Avatar,” James Cameron’s highly anticipated 3-D, computer animated, $237 million, sci-fi film.