from hiero.core import TrackItem seq = hiero.ui.activeSequence() te = hiero.ui.getTimelineEditor(seq) t =te.selection()[-1] print t.source().mediaSource().fileinfos()[0].filename()
Showing posts with label nukestudio. Show all posts
Showing posts with label nukestudio. Show all posts
Friday, June 2, 2017
NukeStudio :: Return the source path for a selected clip
Sunday, May 14, 2017
NukeStudio :: Text expression to display media info
Use this to get file name of the displayed media in NukeStudio:
Alternatively...
[lindex [split [metadata input/filename] "/"] end]
Alternatively...
if you have a comp clip on the time line, this will help you get the internal frame number: [metadata input/frame] For Shot name: [metadata hiero/shot] For Clip name: [metadata hiero/clip] For the file path of the Clip: [metadata input/filename] For the Sequence time frame no. [frame] For the source clip frame number: [metadata input/frame]
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
Labels:
additive blending
,
blinkscript
,
foundry
,
nuke
,
nukestudio
Subscribe to:
Posts
(
Atom
)