Cycles: Fixed broken camera motion blur when motion was not set to center on frame
ClosedPublic

Authored by Stefan Werner (swerner) on Aug 12 2017, 10:05 PM.

Diff Detail

Repository
rB Blender

Attached is a scene that demonstrates the issue:
Camera and Suzanne are moving in sync, the plane is static. This frame renders as expected when motion blur is set to "Center on Frame", but renders incorrectly when motion blur is set to "Start on Frame" or "End on Frame".

Did you check when this issue was introduced? We also do have regression test for camera FOV blur, which was always passing, why so? Perhaps we also need to add shutter center regression tests.

Not saying the patch is bad, or that it shouldn't be fixed but it is weird the issue sneaked in and i want more information :)

Code wise can not comment much, if it solves bugs please commit.

Ok, tested it better. Guess it's just from initial implementation, don't think such movements were ever testes. Have osme .blend files ready for the regression tests which can commit once the fix is in master.

This revision is now accepted and ready to land.Aug 14 2017, 4:02 PM
This revision was automatically updated to reflect the committed changes.