Cycles: Implement rolling shutter effect
ClosedPublic

Authored by Sergey Sharybin (sergey) on Nov 20 2015, 10:48 AM.

Details

Summary

This is an attempt to emulate real CMOS cameras which reads sensor by scanlines
and hence different scanlines are sampled at a different moment in time, which
causes so called rolling shutter effect. This effect will, for example, make
vertical straight lines being curved when doing horizontal camera pan.

This is controlled by the Shutter Type option in the Motion Blur panel.

Additionally, since scanline sampling is not instantaneous it's possible to have
motion blur on top of rolling shutter.

This is controlled by the Rolling Shutter Time slider which controls balance
between pure rolling shutter effect and pure motion blur effect.

Diff Detail

Repository
rB Blender

Some quick renders to show it in action.

No rolling shutter / motion blur:

Pure rolling shutter effect (pole is moving from left to right):

Rolling shutter combined with motion blur (factor 0.2):

Code wise LGTM.

This revision is now accepted and ready to land.Nov 20 2015, 2:31 PM
This revision was automatically updated to reflect the committed changes.