Check out the tutorial on Tuts+