The technology described herein can be embodied in a stereoscopic endoscope in which the orientation of the two eyes may be determined dynamically as the endoscope is moved and rotated. This may enable an improved user-experience when using an angled stereoscopic endoscope even when it is rotated, for example, to view the sides of a cavity.