Read 3D object from text file.