X_Distort v4.4
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Xavier Martín
Create distortion and deformation effects such as heat distortion or plasma with chromatic aberration. Can also be used to improve / refine your rotos.
Requirements:
12.2, 12.0, 11.0, 10.5 or later
Linux, Windows
12.2, 12.0, 11.0, 10.5 or later
Linux, Windows
24 Jan 2021
13663
Overview
This gizmo allows you to distort images with control and flexibility. It is more customizable and easier to use than Nuke's IDistort. You don’t need to copy any channels and you have many other controls to play with. You can blur the parts of the image which are being distorted to get a smoother result.
You can distort an image using its own channels, using another image or using an automatic noise. You can choose the detail of the deformation.
You can distort each color per separate, creating a realistic chromatic aberration effect. You can decide the quality of the effect in order to speed up render times.
More documentation on my website.
Please login in order to download these files.
Comments
X_Math2.enable_ mix_luminance: no such knob
X_Math2.false: no such knob
Of course you have written this script is for Nuke 8 but can I edit something to make it work with nuke 7? because without that error it just works fine :)
open the .gizmo in a txt editor and
Find:
enable_mix_luminance false
Replace with:
#enable_mix_luminance false
As far as i can tell it has no effect on the gizmo
is if you have one instance of the gizmo in the DAG with it distorting from a distortion map and then you copy and paste the gizmo, In the pasted gizmo the "distort from" pull down is set back to "source", issue being the gizmo no longer works till you manually set the "distort from" pulldown again, changing any other setting doesn't change this, only resetting the "distort from" pull down.
anyways awesome gizmo big fella
I found that lowering the distortion map blur also lowers the strength of the distortion.
By 0 (no blur, although still blur of 1 in the gizmo) there is no distortion whatsoever.
I changed that for my own version, but it's a strange behavior.
Cheers
Erwan
Traceback (most recent call last):
File "", line 1, in
RuntimeError: /Applications/Nuke6.0v3-32/Nuke6.0v3.app/Contents/MacOS/plugins/X_Tools/Gizmos/X_Distort.gizmo:
VectorBlur1.channels: {Copy_Source.ch annels} is not a layer or channel name
IDistort1.channels: {Copy_Source.ch annels} is not a layer or channel name
VectorBlur2.channels: {Copy_Source.ch annels} is not a layer or channel name
Merge1.also_merge: {parent.Copy_So urce.channels} is not a layer or channel name
why doesn't this pick up?
channels {{{Copy_Source.ch annels}}}
can't I hardcode it somehow to source.rgb?
I tried that but doesn't work maybe I'm wrong in the syntax.
any help greatly appreciated!!
This has been updated to work in GPU, if your computer has a compatible graphics card.
Even if you are using CPU, there should still be a major speed improvement.
I think it should be "parent.BlinkSc ript.useGPUIfAv ailable". In facts, the main node controller for GPU activates only the one in Blinkscript. Just check it if it is only my problem. Again, great work buddy! Cheers
What kind of issue are you having? :)
It doesn't look like Nukepedia supports attachments, but I can email you a screen grab of what X_Distort looks like under OS X.
Thank you!
It's hard to say what went wrong, here are some resources that may help you.
https://www.youtube.com/watch?v=Z8kZWr8j3_w
https://learn.foundry.com/nuke/developers/63/pythondevguide/installing_plugins.html
Thank you for this awesome tool. Missed so much the different kinds of distort from after effects, when I made the switch.
Super useful gizmo, great work!
I get the following error when rendering through deadline:
"X_Distort1.AdjBBox1.disable: parent.input0 is not a number"
This is on Nuke11.1v3 by the way.
Awesome gizmo, thank you for sharing this!
Is it possible to download the 4.1 somewhere? This page currently link to the 4.0
Cheers!
init.py should read:
# X Distort
nuke.pluginAddPath('./X_Tools/Tools')
nuke.pluginAddPath('./X_Tools/Icons')
nuke.pluginAddPath('./X_Tools/Gizmos')
I can't find an init.py file in the archive.
What shall I do in this case?
I am fairly new to Nuke, I hope it is not so complicated to make it work.
I'm trying to work with your plugin in my pc but when I open Nuke I have this message:
"File "C:Users/TOTO/. nuke/init.py", line 9, in
toolbar = nuke.toolbar("nodes")
RuntimeError: not in GUI mode
C:USers/TOTO/.nuke/init.py : error interpreting this plugin"
I'm using Nuke 11.3v5 in windows 8
Any idea about what's happening and how to solve it?
Thank you in advance!
toolbar = nuke.toolbar... should be in the menu.py
Hopefully that helps
X_Distort1.BlinkScript1.20: no such knob
Can anyone help?
X_Distort1.BlinkScript1.20: no such knob
Can anyone help?
import sys
import nuke
toolbar = nuke.toolbar("Nodes")
toolbar.addCommand("Gizmos/EdgeMirror", "nuke.createNode('EdgeMirror')")
m = toolbar.addMenu("X_Tools")
m.addCommand("Gizmos/X_Distort", "nuke.createNod e('X_Distort')" )
In the gizmo file you could try deleting the line referring to maxTileLines And "20". (Find the section that starts by "BlinkScript {" )
I have updated this for v12.1v2.
The warning was harmless but should no longer appear. :)
(blank error message)
Do you have any idea how to fix it? My nuke version is12.2v1
get the following errors:
X_Distort9.BlinkScript1.maxTileLines: no such knob
X_Distort9.BlinkScript1.20: no such knob
X_Distort9.BlinkScript.maxTileLines: no such knob
X_Distort9.BlinkScript.20: no such knob
X_Distort6.BlinkScript1.maxTileLines: no such knob
X_Distort6.BlinkScript1.20: no such knob
X_Distort6.BlinkScript.maxTileLines: no such knob
X_Distort6.BlinkScript.20: no such knob
X_Distort8.BlinkScript1.maxTileLines: no such knob
X_Distort8.BlinkScript1.20: no such knob
X_Distort8.BlinkScript.maxTileLines: no such knob
X_Distort8.BlinkScript.20: no such knob
X_Distort10.BlinkScript1.maxTileLines: no such knob
X_Distort10.BlinkScript1.20: no such knob
X_Distort10.BlinkScript.maxTileLines: no such knob
X_Distort10.BlinkScript.20: no such knob
X_Distort5.BlinkScript1.maxTileLines: no such knob
X_Distort5.BlinkScript1.20: no such knob
X_Distort5.BlinkScript.maxTileLines: no such knob
X_Distort5.BlinkScript.20: no such knob
Same errors here, for a little while now...Update the gizmo won't update the comp scripts, because it has from gizmo, only the extention... ( Group{...} ) Thanks Erwan ;)Thanks so much. An awesome plugin and an effect I took for granted on Flame, I can not believe I have fiddling around with idistort!
Great stuff.
James
I have an error, and don't render the effect! Any solution?
[17:42.25] ERROR: X_Distort2.AdjB Box1.disable: parent.input0 is not a number
[17:42.25] ERROR: X_Distort2.Auto .which: Nothing is named "parent.input1"
[17:42.25] ERROR: X_Distort1.AdjB Box1.disable: parent.input0 is not a number
[17:42.25] ERROR: X_Distort1.Auto .which: Nothing is named "parent.input1"
[17:42.25] ERROR: X_Distort2.AdjB Box2.disable: Nothing is named "parent.input1"
[17:42.25] ERROR: X_Distort1.AdjB Box2.disable: Nothing is named "parent.input1"
I tried chromatic aberration but when I get rid of it I also get rid of the distorsion too.
I have an issue where my comps using this node get extremely bloated with data from the Xdistort node.
Here are some screen shots of the issue:
https://www.dropbox.com/s/92daw4zuin7e2l7/Capture.PNG?dl=0
https://www.dropbox.com/s/v044bh5f7e4y31l/Capture2.PNG?dl=0
Any idea why ?
Using Nuke 12.2v3
Thank you!
The problem was coming from the few non-ascii characters in the gizmo.
If your file bloats the same way, use a find and replace in regex mode using this '[^\x00-\x7F]+' by nothing in your favourite text editor. This will remove the incriminated characters and fix your script.
RSS feed for comments to this post