This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using IBM.Cloud.SDK.Authentication; | |
using IBM.Cloud.SDK.Authentication.Iam; | |
using IBM.Cloud.SDK.Utilities; | |
using IBM.Watson.TextToSpeech.V1; | |
using UnityEngine; | |
[RequireComponent(typeof(AudioSource))] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
n = nuke.selectedNode() | |
if n.Class() != 'Write': | |
nuke.message('No Write Node selected') | |
else: | |
filepath = os.path.dirname(n['file'].evaluate()) | |
proxypath = os.path.dirname(n['proxy'].evaluate()) | |
question = 'Yes = create normal file path:\n' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v1 | |
push $cut_paste_input | |
Write { | |
file "\[string trimright \[value projectroot] \\\\/]/\[string trimright \[value outputfolder] \\\\/]/\[string trimright \[value shot] \\\\/]/\[string trimright \[value task] \\\\/]/\[if \{\[value enable_cache]\} \{return \[value cachefolder]/\[string trimright \[value cache] \\\\/]/\}]\[if \{\[value file_type] == \"mov\"\} \{return \[string trimright \[value outputfilename] \\\\/].\[value file_type]\} \{return \[string trimright \[value outputfilename] \\\\/]/\[string trimright \[value outputfilename] \\\\/]\[value padding].\[value file_type]\}]" | |
proxy "\[string trimright \[value projectroot] \\\\/]/\[string trimright \[value outputfolder] \\\\/]/\[string trimright \[value shot] \\\\/]/\[string trimright \[value task] \\\\/]/\[if \{\[value enable_cache]\} \{return \[value cachefolder]/\[string trimright \[value cache] \\\\/]/\}]\[if \{\[value file_type] == \"mov\"\} \{return \[string trimright \[value outputfilename] \\\\/]\[value pro |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v1 | |
push $cut_paste_input | |
Group { | |
name CK_AxisBlend1 | |
tile_color 0x9c0000ff | |
addUserKnob {20 CK_AxisBlend} | |
addUserKnob {3 time_offset0 l "time offset 0"} | |
addUserKnob {6 hold0 l hold -STARTLINE} | |
addUserKnob {26 space l "" -STARTLINE T " | "} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# code copied and adapted from https://pastebin.com/4vmAmARU | |
# Big thanks to Ivan Busquets who helped me put this together! | |
# (ok, ok, he really helped me a lot) | |
# Also thanks to Nathan Dunsworth for giving me solid ideas and some code to get me started. | |
import math | |
def createExrCamVray( node ): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v7 | |
push $cut_paste_input | |
Group { | |
name CS_CheckerBoard1 | |
addUserKnob {20 CS_CheckerBoard} | |
addUserKnob {41 checker_size T Expression1.checker_size} | |
addUserKnob {41 centered T Expression1.centered} | |
addUserKnob {41 center l "" -STARTLINE T Expression1.center} | |
addUserKnob {41 colorA T Expression1.colorA} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v7 | |
push 0 | |
push 0 | |
push $cut_paste_input | |
Group { | |
inputs 3 | |
name CS_SequenceViewer1 | |
addUserKnob {20 CS_SequenceViewer} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v7 | |
push 0 | |
push $cut_paste_input | |
Group { | |
inputs 2 | |
name CS_StabilizeCamRotation1 | |
tile_color 0x9c0000ff | |
addUserKnob {20 CS_StabilizeCamRotation} | |
addUserKnob {41 stabilize_frame l "stabilize frame" T FrameHold1.first_frame} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v7 | |
push $cut_paste_input | |
Group { | |
name CS_Line1 | |
addUserKnob {20 CS_Line} | |
addUserKnob {41 output T Roto1.output} | |
addUserKnob {41 cliptype l "clip to" T Roto1.cliptype} | |
addUserKnob {26 divider_shape l "@b;Shape"} | |
addUserKnob {41 color T Roto1.color} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v3 | |
push $cut_paste_input | |
Multiply { | |
channels rgb | |
value {{"offset + (noise(frame * frequency1, seed) + noise(frame * frequency2, seed)) * 0.5 * amplitude"}} | |
name CS_Flicker1 | |
addUserKnob {20 Flicker} | |
addUserKnob {7 frequency1} | |
frequency1 0.123 |
NewerOlder