Realism and three-dimensionality