Plot + scriptable node for compositor
I did a "complex" mathematical node group to enhance an effect I needed on the compositor.
But, that would be clearly easier to make it with Python. In the way we can do it with OSL on shaders.
More, my mathematical operation could be represented as a curve. And at this time, I move my inputs without seeing the curve it generates.
In my humble opinion, this could be a game-changing enhancement.
I think this kind of Python script :
class MyNode:
value: Input(float)
image1: Input(image)
image2: Input(image)
output: Output(image)
plot_view: PlotView(0, 0, 1, 1)
def run(self):
# do what you want
self.plot_view(...)
return modified_image
0 Comments