A white dog chases a red ball in the yard of a building across the way from a barn .