The visual perception of egocentric distance in virtual environments