a141d66aa2eaf8f39211878a15d8e30f5d570815
This patch adds a new Relative To Pixel node in the compositor. The node converts values that are relative to the image size to values that are in terms of pixels. This is useful to use relative values in nodes that take pixel values. For instance, the Kuwahara node has an input that defines the filter size in pixels. If one wants to define it relative to the image size instead, one can use this node. The node can operate on float and 2D vector values. Further, the node can do the conversion relative to a number of image properties: - Per Dimension: Each dimension gets converted independently. The X value is relative to the X dimension and the Y value is relative to the Y dimension. This mode is special because in float mode, the output will be a factor as opposed to a float. - X: Relative to the x dimension. - Y: Relative to the y dimension. - Greater: Relative to the greater dimension. - Smaller: Relative to the smaller dimension. - Diagonal: Relative to the diagonal of the image. Pull Request: https://projects.blender.org/blender/blender/pulls/138773
…
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%
