colorInput = getPixel(1, frame, x, y);
R=colorInput[0];
G=colorInput[1];
B=colorInput[2];
A=colorInput[3];
colorOutput=[R,G,B,A];
colorOutput
...but seem that you want multiply a float value per vector color for obtain a float value, if it's so seem little strange.
r = Cs [0];
g = Cs [1];
b = Cs [2];
a = As;
output=[r,g,b];
output
Do you now how to reference the values of parameters in other nodes?
--
You received this message because you are subscribed to the Google Groups "Natron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Natron-VFX+...@googlegroups.com.
To post to this group, send email to Natro...@googlegroups.com.
Visit this group at http://groups.google.com/group/Natron-VFX.
To view this discussion on the web visit https://groups.google.com/d/msgid/Natron-VFX/e73ef3d4-be37-4a80-8dbb-c0e5713bb58e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
nightness = x1;
blueness = x2;
inputRed = Cs [0];
inputBlue = Cs [1];
inputGreen = Cs [2];
outputBlue = inputBlue * nightness;
outputRed = inputRed * outputBlue / blueness;
outputGreen = inputGreen * outputBlue / blueness;
output = [outputRed,outputBlue,outputGreen];
output
So its usable, but a bit awkward. In the current build it seems to struggle to render.
To view this discussion on the web visit https://groups.google.com/d/msgid/Natron-VFX/e33849b1-f7ac-4eac-b9a0-81bc082ad88e%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Natron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Natron-VFX+...@googlegroups.com.
To post to this group, send email to Natro...@googlegroups.com.
Visit this group at http://groups.google.com/group/Natron-VFX.
To view this discussion on the web visit https://groups.google.com/d/msgid/Natron-VFX/51c0456f-f335-46e1-9cd1-16824f1cc284%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/Natron-VFX/f6ede779-e582-483a-9c3d-f2edfc8523e8%40googlegroups.com.
So i need 3 shuffles nodes + 1 merge node (screen)
So i don't know how to simplify this 4 nodes to one.
This the reason i thought that the SeExpr could help me to simplify the nodegraph.
That's why a node like the Nuke ShuffleMerge Node might be a cool enhancement, or a math operations node or something like that, might do the trick as well.
I don't know to do that with the SeExpr Node... :(
--
You received this message because you are subscribed to the Google Groups "Natron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Natron-VFX+...@googlegroups.com.
To post to this group, send email to Natro...@googlegroups.com.
Visit this group at http://groups.google.com/group/Natron-VFX.
To view this discussion on the web visit https://groups.google.com/d/msgid/Natron-VFX/8a2c2d36-58b9-461e-b901-85d51d1ce874%40googlegroups.com.
screen=1-(1-Cs[0])*(1-Cs[0]);#screen merge R channel
screen
and use 1 channel of output for mask on the merge node for blend the smoke with background.
--
You received this message because you are subscribed to the Google Groups "Natron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Natron-VFX+...@googlegroups.com.
To post to this group, send email to Natro...@googlegroups.com.
Visit this group at http://groups.google.com/group/Natron-VFX.
To view this discussion on the web visit https://groups.google.com/d/msgid/Natron-VFX/61e812fe-dda1-4570-9a7e-35320c9a6f58%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/Natron-VFX/45015575-0243-4796-a3af-48c89f817d5a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/Natron-VFX/074b7010-2618-4bfd-b552-d2a89dae53b6%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/Natron-VFX/e444d29b-a8cf-4ab1-87d5-1bc019fd2fa0%40googlegroups.com.
There's nothing, no feedback in the command line to suggest anything.
Even a simple Cs or:
color = Cs;
color
produces this error.
Any ideas?
Thanks!