X_Tesla v2.0
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Xavier Martín
With this Gizmo you will be able to create lightning and electricity effects. Electric arcs will be procedurally created between two points.
Requirements:
9.0, 8.0 or later
Linux, Windows
9.0, 8.0 or later
Linux, Windows
08 Nov 2016
8944
With this Gizmo you will be able to create lightning and electricity effects. Animated electric arcs will be procedurally created between two points.
The gizmo includes some realistic render option such as the temperature based chromatic aberration and glow, an advanced soften filter, an easy to use 2 colour system. Or you can just disable everything with a simple check box, that’s also OK.
You can fins more information on my website.
Please login in order to download these files.
Comments
Expression12.enable_mix_luminance: no such knob Expression12.fa lse: no such knob.
ERROR: X_Telsa.Ramp12. p1: Nothing is named "parent.Branch"
Find:
enable_mix_luminance false
Replace with:
#enable_mix_luminance false
As far as i can tell it has no effect on the gizmo
Do you think its possible to extend it to a Scene?
Using Axis points to define the Start and the End of a LBolt?
BUT! The current animation engine only works in 2D (that's one of the many reasons why it is so fast). If we forced the lightning to be 3D, it would probably jitter randomly on every frame.
For now we will have to do it "Old School" and animate it in 2D. Anyway, lightnings don't last for that long! =D
Is it possible to make all branches stick to together with the main branch? They keep breaking apart when I change values
The branches sperating from the main branch is a probles caused by a Nuke known bug with expressions. What is happening is that the expressions which tell the position of the children branches are not being evaluated in the correct order.
I may have an idea of how to fix this in the future, but right now it's really complex to get Nuke evaluate python expressions properly in both the viewport and when rendering.
If the branches appear broken at render time, try to check the checkbox at the bottom of the properties. That should keep the branches together at rendertime.
Hope this helps! :)
I didn't notice the "fix broken branches" checkbox, it works most of the time when I add the write node at the end, and sometimes it helps to go to the first frame.
Thanks for your help and keep up the good work!
You really know your stuff!
I'm testing in Nuke 9.0v8, and 10.0v3.
Thanks!
I'm in Nuke9.0v8
Aside from the errors when I reopen the project, it works wonderfully!
Fixed it by adding the gizmo to my menu.py
Here's a good guide for yah:
http://www.nukepedia.com/gizmos/creating-a-new-menu-for-custom-gizmos
[ 8:17.21] ERROR: X_Tesla4.Branch .branch5: unexpected '"' in ""unable to sample node at given location (606.718, 608) for the current context (may be zoomed in or have a ROI set)""
or this:
[ 8:23.55] ERROR: X_Tesla7.Branch .test: unexpected '"' in ""unable to sample node for given channel (rgba.green) at current context""
After reading the above comments and trouble-shootin g as much as I could, I came to the conclusion that our Nuke 10.5 set up is incompatible. Thankfully however, we still have older versions of nuke handy and I managed to fix the issue only by going back into Nuke9 and pre-rendering the element on my machine locally. Hope this helps anyone currently experiencing any issues. After all that being said, I love the versatility and depth of this plugin Xavier, of all the ways I've employed to create plasma effects this one is by far the coolest and most user friendly. :)
Traceback (most recent call last): File "", line 1, in RuntimeError: X_Distort: Unknown command
Eventually I realized that the "how_to_install " instructions and the "X_Tools" folder extracted from the "X_Tesla" used some different names for the python code.
For menu.py, the code should say:
toolbar = nuke.toolbar("N odes") m = toolbar.addMenu ("X_Tesla", icon="X_Tools.png")
m.addCommand("X_Tesla", "nuke.createNod e(\"X_Tesla\")" , icon="X_Tesla.png")
And in the "X_Tools" folder itself, the "Tools" Folder should be renamed to "Gizmos" to correspond with the nuke.pluginAddP ath('./X_Tools/ Gizmos') command.
So super newbie, but I feel good that I figured it out on my own. Hopefully if anyone else has this issue this will help them!
Do you have a Mac version of this?
Hi Xavier! It's impressive! Have u any plans to realise tesla on mac os? Thanx!
invalid syntax (, line 1)
Really simple controls and the look generated is on point.
Ha Ha!!! Love it!!!!
Also, the point and and point 2 are quite close, like a taser contact.
Just wanted to give a heads up. As of November 7 2019, the "how to install" document is wrong regarding the edits to the .py and .menu files.
For init.py
It says you must add:
nuke.pluginAddPath('./X_Tools')
nuke.pluginAddPath('./X_Tools/Icons')
nuke.pluginAddPath('./X_Tools/Gizmos')
It SHOULD be:
#X Tools
nuke.pluginAddPath('./X_Tools')
nuke.pluginAddPath('./X_Tools/Icons')
nuke.pluginAddPath('./X_Tools/Tools')
For menu.py
It says you must add:
toolbar = nuke.toolbar("Nodes")
m = toolbar.addMenu ("X_Tools", icon="X_Tools.png")
m.addCommand("X_Distort", "nuke.createNod e(\"X_Distort\" )", icon="X_Distort.png")
It SHOULD be:
# X_Tools
toolbar = nuke.toolbar("Nodes")
m = toolbar.addMenu ("X_Tools", icon="X_Tools.png")
m.addCommand("X_Tesla", "nuke.createNod e(\"X_Tesla\")" , icon="X_Tesla.png")
Guessing this is a typo, but it tripped me out at first.
Just wanted to give a heads up. As of November 7 2019, the "how to install" document is wrong regarding the edits to the .py and .menu files.
For init.py
It says you must add:
nuke.pluginAddPath('./X_Tools')
nuke.pluginAddPath('./X_Tools/Icons')
nuke.pluginAddPath('./X_Tools/Gizmos')
It SHOULD be:
#X Tools
nuke.pluginAddPath('./X_Tools')
nuke.pluginAddPath('./X_Tools/Icons')
nuke.pluginAddPath('./X_Tools/Tools')
For menu.py
It says you must add:
toolbar = nuke.toolbar("Nodes")
m = toolbar.addMenu ("X_Tools", icon="X_Tools.png")
m.addCommand("X_Distort", "nuke.createNod e(\"X_Distort\" )", icon="X_Distort.png")
It SHOULD be:
# X_Tools
toolbar = nuke.toolbar("Nodes")
m = toolbar.addMenu ("X_Tools", icon="X_Tools.png")
m.addCommand("X_Tesla", "nuke.createNod e(\"X_Tesla\")" , icon="X_Tesla.png")
Guessing this is a typo, but it tripped me out at first.
Just wanted to give a heads up. As of November 7 2019, the "how to install" document is wrong regarding the edits to the .py and .menu files.
For init.py
It says you must add:
nuke.pluginAddPath('./X_Tools')
nuke.pluginAddPath('./X_Tools/Icons')
nuke.pluginAddPath('./X_Tools/Gizmos')
It SHOULD be:
#X Tools
nuke.pluginAddPath('./X_Tools')
nuke.pluginAddPath('./X_Tools/Icons')
nuke.pluginAddPath('./X_Tools/Tools')
For menu.py
It says you must add:
toolbar = nuke.toolbar("Nodes")
m = toolbar.addMenu ("X_Tools", icon="X_Tools.png")
m.addCommand("X_Distort", "nuke.createNod e(\"X_Distort\" )", icon="X_Distort.png")
It SHOULD be:
# X_Tools
toolbar = nuke.toolbar("Nodes")
m = toolbar.addMenu ("X_Tools", icon="X_Tools.png")
m.addCommand("X_Tesla", "nuke.createNod e(\"X_Tesla\")" , icon="X_Tesla.png")
Guessing this is a typo, but it tripped me out at first.
Just wanted to give a heads up. As of November 7 2019, the "how to install" document is wrong regarding the edits to the .py and .menu files.
For init.py
It says you must add:
nuke.pluginAddPath('./X_Tools')
nuke.pluginAddPath('./X_Tools/Icons')
nuke.pluginAddPath('./X_Tools/Gizmos')
It SHOULD be:
#X Tools
nuke.pluginAddPath('./X_Tools')
nuke.pluginAddPath('./X_Tools/Icons')
nuke.pluginAddPath('./X_Tools/Tools')
For menu.py
It says you must add:
toolbar = nuke.toolbar("Nodes")
m = toolbar.addMenu ("X_Tools", icon="X_Tools.png")
m.addCommand("X_Distort", "nuke.createNod e(\"X_Distort\" )", icon="X_Distort.png")
It SHOULD be:
# X_Tools
toolbar = nuke.toolbar("Nodes")
m = toolbar.addMenu ("X_Tools", icon="X_Tools.png")
m.addCommand("X_Tesla", "nuke.createNod e(\"X_Tesla\")" , icon="X_Tesla.png")
Guessing this is a typo, but it tripped me out at first.
- change Gizmos to Tools in init.py ($User/.nuke)
nuke.pluginAddPath('./X_Tools')
nuke.pluginAddPath('./X_Tools/Icons')
nuke.pluginAddPath('./X_Tools/Tools') ----before was gizmos
IT WORKS PERFECTLY !
Not sure if it's a incompatibility issue related to Mac OS 10.15.4 (Catalina). Anyone?
I have downloaded the most recent Gizmo type, still nothing. Any ideas?
I have downloaded the most recent Gizmo type, still nothing. Any ideas?
I'm on nuke 15.v2
RSS feed for comments to this post