Export Distortion Node for Nuke or Natron? Just start playing with Blender tracking recently, and everything seems to be pretty good. Except,I couldn't find a good way to export distortion data to Nuke or Natron. I used to use PFTrack and export their own distortion data,and read it into nuke with plugin. I was wondering if Blender can do the same thing? How's everybody deal with this? STMap? or Render 3D scene with distortion?

Best,

Han
The undistort formula is starting at line 66, both polynomial and divison, in blender-2.78c\intern\libmv\libmv\simple_pipeline\distortion_‌​models.h Seems pretty straight forward formula, can be implied to Nuke using Blink script, or to Natron using Shadertoy.