f06929766b15e2db5ba31ed564aa9b2335c39002
This patch implements the Movie Distortion node for the realtime compositor. The distorted coordinates are computed and cached for a particular tracking camera distortion parameters. So for expensive distortion models, the first run will take some time to compute, but subsequent runs will be fast. An alternative implementation would be to implement each of the distortion modes in the shader, but that was decided against for a few reasons: 1. We want to hide the implementation details of the distortion models, since it is provided through an external library (Libmv). 2. Some distortion models are expensive to solve accurately, and can be quite slow to solve each time the shader runs. 3. The typical usage of the node does not involve interactive editing of the distortion parameters, rather, the parameters are computed during camera calibration, so caching seems most fitting in that case. Pull Request: https://projects.blender.org/blender/blender/pulls/108230
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
