I am trying to do ray tracing for an endoscope, but I don't see how it could form a sharp image that could be viewed at the eyepiece.
In the diagram the box in the middle is the "fiber", but the light from the object (the dot on the left) comes out of the fiber as if they originate from two locations (top and bottom), and if viewed through the eyepiece at the end, wouldn't two images form (the two dots on the right)?
Also, if just looking at the image end of the fiber by eye directly without eyepiece, one should still see the image of the object, right? I don't see how it would work with ray tracing in this case either. And should the image in this case be inverted or upright, or left/right flipped, or does it depend?

