How does the default camera deal with aspect ratio?

Hi guys,
I wanted to created a camera like the default camera, but when the window resizes it still fill the screen with the same aspect ratio (and looks strange).
Then i added

self.accept('window-event', self._adjustAspectRatio)

and

    
def _adjustAspectRatio(self,arg):
        if self.camera:
            self.lens.setAspectRatio(base.getAspectRatio())




(the image is a billboard under “render”)

the aspect ratio now works well but still different from the default base.cam
so…how does it work?

:smiley: found out setMinFov() in Lens
and solved with adding

self.lens.setMinFov(MIN_FOV)

XD