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
08 Nov 2016
8944

lightning

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.

 

 

features

 

Please login in order to download these files.

Comments   

 
+10 # Frank Rueter 2015-03-03 16:08
this is excellent, thanks so much for sharing!
 
 
0 # Xavier Martín 2016-11-08 17:25
Thanks! :D
 
 
+8 # ni Ra 2015-03-03 17:21
nice work! thanks a lot!
 
 
+4 # kiran nani 2015-03-12 09:42
Nice.. But while loading in nuke 7..Its popping many errors like.
Expression12.enable_mix_luminance: no such knob Expression12.fa lse: no such knob.
ERROR: X_Telsa.Ramp12. p1: Nothing is named "parent.Branch"
 
 
+1 # Xavier Martín 2015-08-31 13:17
It may not work properly on previous versions of Nuke... I always try to give to my tools as much compatibility as I can, but for many reasons, that is not always possible. Right now X_Tesla is only compatible with versions 8 and forward.
 
 
0 # Steve Sexton 2015-12-01 00:26
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
 
 
0 # Xavier Martín 2016-11-08 17:26
This has been fixed in the new version!!! :)
 
 
+3 # David Borrull 2015-03-12 17:25
Thanks for sharing.
 
 
+4 # djati waskito 2015-03-15 12:43
I am speechless..thi s is stunning. Thank you for sharing Sir..!
 
 
+1 # Xavier Martín 2015-08-31 13:18
Thank you very much :)
 
 
+3 # Caslav Bozovic 2015-03-17 18:00
wow, great job Xavier!
 
 
+3 # claudio antonelli 2015-04-20 12:49
Amazing plugin, love it.

Do you think its possible to extend it to a Scene?
Using Axis points to define the Start and the End of a LBolt?
 
 
0 # Xavier Martín 2015-08-31 13:22
I think it would be possible to project 3D points using a camera to the XY coordinates, and then link those points to the start - end points of X_Tesla. And maybe with some trigonometry we could even make the lightning bolt be wider as it gets closer to the camera.

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
 
 
+3 # Jon Howard 2015-06-29 18:57
Love this! Excellent work!
 
 
+2 # Johannus Johansen 2015-11-26 14:42
Really nice work!

Is it possible to make all branches stick to together with the main branch? They keep breaking apart when I change values
 
 
+1 # Xavier Martín 2015-11-27 10:42
Hi Johannus!

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! :)
 
 
0 # Johannus Johansen 2015-12-01 18:27
Thanks Xavier!

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!
 
 
0 # Rob Geddes 2016-07-18 04:58
I love the look, sadly I can only see broken branches no matter what settings I use. Branches are broken in the viewer and the render with checkbox checked or not.

I'm testing in Nuke 9.0v8, and 10.0v3.
 
 
0 # Xavier Martín 2016-11-08 17:28
The core of the tool has been completely re-done! Now the split-branch problem should be a past issue! :D
 
 
+1 # Rob Geddes 2016-11-08 17:54
Amazing! Can't wait to check it out.

Thanks!
 
 
0 # Rob Truax 2016-03-03 23:41
I'm running into an issue where after I close my project and reopen the project, the gizmo comes to me with errors. Basically, all of the parameters come back with 'no such knob'

I'm in Nuke9.0v8

Aside from the errors when I reopen the project, it works wonderfully!
 
 
0 # Bret Watkins 2016-04-04 16:36
Having the same problem.
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
 
 
0 # Xavier Martín 2016-11-08 17:29
This problem is fixed on the new version! Hope it helps! :D
 
 
+2 # Paul Loop 2016-03-24 05:38
Awesome work, thanks a lot, Xavier
 
 
+2 # Victor Perez 2016-07-26 07:03
This is gold! Thanks for sharing Xavi!
 
 
+1 # Xavier Martín 2016-11-08 17:29
Thank you, Victor!
 
 
+1 # Linux Rock 2016-08-09 19:45
Wow impressive, Thumbs Up...
 
 
0 # Ash K 2016-11-14 00:20
Thank you Xavier for the great Gizom
 
 
0 # Gregory Haas 2017-05-26 16:09
Hey everyone, I've recently been encountering the broken branch issue in Nuke 10.5, our farm was recently updated to this version of nuke and the tesla plugin broke as a result, the "fix broken branches" box checked or unchecked made no difference to the end result both in the viewport and rendering. the main errors that would come up looked mostly like this:
[ 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. :)
 
 
+5 # Daniel Hildebrand 2017-06-09 21:03
Hey guys, as a python/Nuke newbie I was having some trouble getting this gizmo to install. Was receiving this error:

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!
 
 
+1 # amber wilson 2017-08-23 20:48
Hi Xavier,

Do you have a Mac version of this?
 
 
0 # Max Alaev 2022-04-06 22:51
Quoting amber wilson:
Hi Xavier,

Do you have a Mac version of this?


Hi Xavier! It's impressive! Have u any plans to realise tesla on mac os? Thanx!
 
 
0 # Nicholas Hamilton 2017-11-20 04:02
Will this work with Natron?
 
 
0 # romain clark 2017-12-01 21:51
Whenever I try to apply this node an error appear:
invalid syntax (, line 1)
 
 
0 # Paul Loop 2018-02-08 15:40
Also have a problem with branches on 10.5 while rendering
 
 
0 # Alican Sesli 2018-08-16 03:44
This is great, I love how I can control the speed rate to get a smoother look along with everything else!

Really simple controls and the look generated is on point.
 
 
0 # Alexey Kuchinski 2018-08-22 19:54
Xavier this looks great, very smart setup, thank you for sharing!
Ha Ha!!! Love it!!!!
 
 
0 # Alexey Kuchinski 2018-08-22 20:32
....still looking into it, have no idea how you managing to create the branch which is connecting the split ones, awesome! :D
 
 
0 # Marcus Jungerstam 2018-09-24 13:46
I use this all the time. Great gizmo.... 8)
 
 
0 # Marcus Jungerstam 2018-09-24 13:46
I use this all the time. Great gizmo.... 8)
 
 
0 # Marcus Jungerstam 2018-09-24 13:46
I use this all the time. Great gizmo.... 8)
 
 
0 # Xavier Martín 2018-10-24 10:08
How often do you use this gizmo? :P
 
 
0 # Marcus Jungerstam 2018-10-24 14:43
3 times now. Might just use ite today for the 4th time ;)
 
 
0 # Joe Censoplano 2019-03-21 23:58
this is great! but can you get it to work in 3d space ? ;)
 
 
0 # Xavier Martín 2019-05-27 12:56
Uhh... I dunno... Can you? :P :-*
 
 
0 # darren coombes 2019-05-27 01:19
Hi, i'm using this with animated positions on a non-square pixel comp (2880 x 2160 pixel aspect 2) and it's jumping around and not sticking to the positon i need. ANy help?

Also, the point and and point 2 are quite close, like a taser contact.
 
 
0 # Xavier Martín 2019-05-27 12:58
This is a know issue, I am afraid. The tool doesn't like anamorphic formats, I am afraid! The best solution I can give you would be to pcomp the lightning effect. :-?
 
 
0 # darren coombes 2019-05-28 06:32
So i found if you set it to best quality, it doesn't jump around.
 
 
0 # michael burrows 2019-09-08 02:22
Hi Xavier Martin!, I am a student looking to use this gizmo in my upcoming non-profit project and was wondering if I can have permission to use it, the appropriate credit will be given to you in both the credits of the shot and my documentation. Hope to hear from you soon!
 
 
+1 # Miguel Lavin 2019-11-07 18:13
Heeeeeey guys!

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. ;-)
 
 
+1 # Miguel Lavin 2019-11-07 18:14
Heeeeeey guys!

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. ;-)
 
 
+1 # Miguel Lavin 2019-11-07 18:14
Heeeeeey guys!

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. ;-)
 
 
+1 # Miguel Lavin 2019-11-07 18:14
Heeeeeey guys!

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. ;-)
 
 
+2 # dapoer vfx 2020-01-04 20:03
I'm using V.12 so just a little fix :
- 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 !
 
 
0 # Carlos Raya 2020-04-07 14:05
I did all the corrections above, and it won't appear on the menu bar. It keeps saying "invalid syntax (, line 1)"

Not sure if it's a incompatibility issue related to Mac OS 10.15.4 (Catalina). Anyone?
 
 
0 # jean Christophe Nollet 2020-12-03 14:50
thanks for sharing
 
 
0 # jean Christophe Nollet 2020-12-03 14:50
thanks for sharing
 
 
0 # Seb Arm 2020-12-24 15:11
I'm getting this dd problem: https://www.reddit.com/user/SebArmMagic/comments/kjgwyg/x_tesla_broken/

I have downloaded the most recent Gizmo type, still nothing. Any ideas?
 
 
0 # Seb Arm 2020-12-24 15:11
I'm getting this odd problem: https://www.reddit.com/user/SebArmMagic/comments/kjgwyg/x_tesla_broken/

I have downloaded the most recent Gizmo type, still nothing. Any ideas?
 
 
0 # Yanuar Prabowo 2023-06-16 11:46
will it work, in nuke 14 ?
 
 
0 # Daria Alexander 2023-08-30 18:44
Thanks a ton! great lightning
 
 
0 # damian lima 2024-12-02 02:45
Hello guys, does anyone know why I can't see the Glow effect?
I'm on nuke 15.v2
 

You have no rights to post comments

We have 5328 guests and 138 members online