[Bf-committers] Problem with Lens distortion update

Levon levonh at gmail.com
Sat May 21 05:44:39 CEST 2016


Ive been playing around with adding a new lens distortion type to blender,
based off 3dequalizer's default lens distortion model from the Lens
Distortion Plugin Kit
https://www.3dequalizer.com/?site=tech_docs&id=110216_01

I know most of this will probably change with Tianwei's GSOC project, im
just playing around with the code.

Ive successfully implemented the ldpk_classic_3de_mixed_distortion for
undistorting and redistorting the image, but not solving camera intrinsics
yet.

I have one problem, changing the parameters does not update the render
undistorted in the movie editor, but works fine in the compositor.

I would have thought setting the rna_def_property_update to
 'rna_tracking_flushUpdate' would trigger an update, but it doesnt seem to
be working.

Could someone point out where i need to trigger an update when the lens
distortion parameters are changed?

my diff is here.
http://www.pasteall.org/69753/diff


Cheers, Levon


More information about the Bf-committers mailing list