If people want another more scientific comparison, use this comparison tool. Remember to select scale to (I chose 5mp to be fair to the One) under the image. Suffice to say, the resolution disadvantage of the One is evident. I'd say the S3, despite being an older handset, comes out on top in this comparison.
GSM Arena | Camera Comparison | S3 vs Z vs One
Video quality wise, the One bests the Z in detail, though the S3 still comes up best overall for detail and accuracy. In low light video however, things become more competitive, with the S3 and One being pretty comparable. The S3 slightly brighter, the One being slightly more detailed.
GSM Arena | Video Comparison | S3 vs Z vs One