How do you unlock all of the cars on motorstorm pacific rift for the PS3?

Get enough trophies, and do well on the festival!