Showing posts with label nuke. Show all posts
Showing posts with label nuke. Show all posts

Friday, December 14, 2018

Nuke: Cant believe I forgot this... First frame last frame

nuke.knob('root.first_frame')
nuke.knob('root.last_frame')
yup. I know. Oh and it returns a string btw. I have NO idea why. Like really. Why..?

Saturday, March 11, 2017

Nukia - smarter switch

Use in text node to find what Switch1 Reads are looking at. [lindex [split [file tail [value [value Switch1.input[expr int([value Switch1.which])].name].file]] -] 0] or lol.. [lindex [split [file tail [value [value [value this.input0.name].input[expr int([value [value this.input0.name].which])].name].file]] -] 0] This is also useful. Root dir: [file dirname [knob [topnode].file] ] File name: [file tail [knob [topnode].file] ] File extension: [file extension [knob [topnode].file] ]

Monday, May 2, 2016

anamorphic-a-day :: #69


As I was flicking through the daily photos, the laptop froze and Nuke's display temporarily showed an unintentional double exposure between two completely unrelated images.  Seemed kind of interesting, especially how the lines seemed to follow so I recreated it.

Saturday, April 23, 2016

Thursday, February 11, 2016

NukeStudio: Clip/Track additive blending


For anyone wanting to do additive track blending in NukeStudio v10+, here's a step by step.

1.  Starting with two over layed tracks.  By default the top one takes precedence and hides the lower one.



2. Convert the top track to a blend track via the right mouse button menus.  The track header should turn blue.



3. Right mouse over the overlay clip add a BlinkScript soft effect.



4.  Expand the code section, press Clear to remove the default code.  Then copy and paste my code and hit Recompile:




5.  Switch to the Kernal Parameters tab.  Here you will be able to multiply the RGB and A of the overlayed clip, as well as separately controlling an overall Alpha and RGB gain.  Setting Alpha gain to zero is the quickest way make the clip additive.  (Note that these parameters multiply against each other.)



6. You can add other soft-effects, like transforms, other grades etc and things should behave as expected.




Please add a comment if you give this a go.  I would be interested to know if this is useful.

Cheers,

Jeff