Add compensation for Lens Breathing
Latios96 opened this issue · comments
Jan Honsbrok commented
Moving the whole lens leads to a lot of lens breathing. Because of this, the image size changes. Make the lens breathing controllable:
- Calculate image size for lens focussed at infinity (binary search is probably a good idea)
- focus to desired focal distance and calculate image size
- apply a compensation to the sensor size to compensate for the lens breathing
- make it possible to control the compensation, e.g. lerp between "full compensation" and "no compensation"