staring intently into the near distance , he fixed his gaze on the farthest solid-seeming object and counted the paces until that object either proved false , a trick of the light , or reared up before him , a tree or a dwelling .