This discussion is locked
imaiden

Q: Best way to handle Text

I want to use text as a mask and only have video play inside the individual letters. I am thinking that there is an easy way of doing this but I cannot quite figure it out.

// Shake v4.10.0606 - (c) Apple Computer, Inc. 1998-2006. All Rights Reserved.
// Apple, the Apple logo and Shake are trademarks of Apple Computer, Inc., registered in the U.S. and other countries.


SetTimeRange("1");
SetFieldRendering(0);
SetFps(24);
SetMotionBlur(1, 1, 0);
SetQuality(1);
SetUseProxy("Base");
SetProxyFilter("default");
SetPixelScale(1, 1);
SetUseProxyOnMissing(1);
SetDefaultWidth(720);
SetDefaultHeight(486);
SetDefaultBytes(1);
SetDefaultAspect(1);
SetDefaultViewerAspect(1);
SetMacroCheck(1);
SetTimecodeMode("24 FPS");

DefineProxyPath("NoPrecomputedProxy", 1, 1, -1, "Auto", -1, 0, 0, "",1);
DefineProxyPath("NoPrecomputedProxy", 0.5, 1, 1, "Auto", 0, 0, 1, "");
DefineProxyPath("NoPrecomputedProxy", 0.25, 1, 1, "Auto", 0, 0, 2, "");
DefineProxyPath("NoPrecomputedProxy", 0.1, 1, 1, "Auto", 0, 0, 3, "");
SetAudio("100W@E0000qFdsuHW962Dl9BOW0mWa06w7mCJ000000000008");

// Input nodes

RotoShape1 = RotoShape(720, 486, 1, "v4.10", 0, 0, 0, 1, 1, xScale,
width/2, height/2, 0, 0.5, 0, 384, "100W@4F000VDhsuH9RYbMXHCo8io6OeUbXiPdd5ARebnCRXL0hMP06O82b6aMQL7Z25eWPAO0WQeP9 vPPMQwAbaVHw5blVvqEdJYv5bVEvfMQEEUcQgHQQgW1wWeWQA5DQ8GTP4gWDRJg9GgrK3AzBOtgFwnfR OYmCbK3vId4qf9dVRM7vGknTdj9eTYTh84MO4XDcPfUc6QX5cawPfkSMOfb66REN6LcOiUccOi56oA3Q 0tt0piK6TWCnYP4SGJcYZA1XPGCWz58Gp9ZCu032jnEGOyWJumDf8NOtSYEsqGTmri2A0emRtTKowEQZ Ti@Vdb8pJdwabBhAXtwyZGjCURMk@jQUiKENq1QZC9O8UdiVAGsm3aeNIkevkBt@PHiGeNlyB8GM6iH6 nE4WWB3w6fq00000cm3");
Text1 = Text(720, 486, 1, "never", "Chalkboard Bold", 132, 176.2,
0.9325142, 862.1903, 593.7361, 0, 2, 2, 1, 1, 1, 1, -280,
-340, -360, 45, 129, 1);
retro300927____ = SFileIn("$HOME/Desktop/443-cleaned/retro300-927@@@@@.dpx",
"Auto", 0, 0, "v1.1", "0", "");

// Processing nodes

Primatte_v21 = Primattev2(retro300_927____, Text1, 0, 0, 0, 0,
2, 0, 2, 0, 0, "a", "a", 0, 1, 1, 1, 1, 1, 0, 0, 0, "80000WDcsu@B80aKCCG0@000020000036");
Keylight1 = Keylight(Primatte_v21, Text1, 0, 0, "1.4", "compOnReplace",
0, 0, 0, 0, 0.9, 0.9, 0.9, (bScreen > gScreen) ? 0.9 : 0.5,
(bScreen > gScreen) ? 0.9 : 0.5, (bScreen > gScreen) ? 0.9 : 0.5,
0, 0, 0, 0.5, 0.5, 0.5, 0.5, 1, rExposure, rExposure, 1,
rGamma, rGamma, 1, "linear", 1, "A", 1, "A", 0, 0);
Mask(Primatte_v21, RotoShape1, "A", 100, 0, 1, 1);
Mask(Keylight1, RotoShape1, "A", 100, 0, 1, 1);
MultiLayer1 = MultiLayer("v4.0", "L1", 0, Keylight1, 1, "L1",
1, 0, "Over", 1, 0, 0, "rgba", 0, Text1, 1, "L2", 1, 0, "Over",
1, 0, 0, "rgba", 0);


// User Interface settings

SetKey(
"colorPicker.hex", "0",
"colorPicker.range", "32",
"globals.broadcastHighQuality", "1",
"globals.broadcastMonitorNumber", "2",
"globals.broadcastViewerAspectRatio", "1",
"globals.cacheMode", "1",
"globals.consoleLineLength", "120",
"globals.displayThumbnails", "1",
"globals.enhancedNodeView", "0",
"globals.fileBrowser.favorites", "/;$HOME;/Users/lawrence//nreal/;/Applications/Shake/;/Applications/Shake/doc/p ix/;",
"globals.fileBrowserExactList", "0",
"globals.fileBrowserFilterList", "1",
"globals.fileBrowserFullList", "0",
"globals.fileBrowserHeight", "540",
"globals.fileBrowserImageList", "0",
"globals.fileBrowserLC1", "230",
"globals.fileBrowserLC2", "70",
"globals.fileBrowserLC3", "110",
"globals.fileBrowserLC4", "245",
"globals.fileBrowserLC5", "175",
"globals.fileBrowserLC6", "65",
"globals.fileBrowserLC7", "111",
"globals.fileBrowserRIntSet", "0",
"globals.fileBrowserSC1", "211",
"globals.fileBrowserSC2", "211",
"globals.fileBrowserSC3", "211",
"globals.fileBrowserSeqList", "0",
"globals.fileBrowserShortList", "0",
"globals.fileBrowserWIntSet", "1",
"globals.fileBrowserWidth", "790",
"globals.fileBrowserfullPath", "0",
"globals.fontBlue", "1",
"globals.fontGreen", "1",
"globals.fontRed", "1",
"globals.gridBlue", "0.15",
"globals.gridEnabled", "0",
"globals.gridGreen", "0.15",
"globals.gridHeight", "40",
"globals.gridRed", "0.15",
"globals.gridVisible", "0",
"globals.gridWidth", "40",
"globals.layoutTightness", "40",
"globals.multiPlaneLocatorScale", "1",
"globals.noodleABlue", "1",
"globals.noodleAGreen", "1",
"globals.noodleARed", "1",
"globals.noodleAZBlue", "0.4",
"globals.noodleAZGreen", "0",
"globals.noodleAZRed", "0",
"globals.noodleBWABlue", "0.4",
"globals.noodleBWAGreen", "0.4",
"globals.noodleBWARed", "0.4",
"globals.noodleBWAZBlue", "0.4",
"globals.noodleBWAZGreen", "0",
"globals.noodleBWAZRed", "0",
"globals.noodleBWBlue", "0.15",
"globals.noodleBWGreen", "0.15",
"globals.noodleBWRed", "0.15",
"globals.noodleBWZBlue", "0.4",
"globals.noodleBWZGreen", "0",
"globals.noodleBWZRed", "0",
"globals.noodleBlue", "1",
"globals.noodleColorCoding", "2",
"globals.noodleGreen", "1",
"globals.noodleRGBABlue", "0.7",
"globals.noodleRGBAGreen", "0.7",
"globals.noodleRGBARed", "0.7",
"globals.noodleRGBAZBlue", "1",
"globals.noodleRGBAZGreen", "0.4",
"globals.noodleRGBAZRed", "0.4",
"globals.noodleRGBBlue", "0",
"globals.noodleRGBGreen", "0.7",
"globals.noodleRGBRed", "0.7",
"globals.noodleRGBZBlue", "0.8",
"globals.noodleRGBZGreen", "0.2",
"globals.noodleRGBZRed", "0.2",
"globals.noodleRed", "1",
"globals.noodleStipple16", "1061109567",
"globals.noodleStipple32", "-1",
"globals.noodleStipple8", "-1431655766",
"globals.noodleTension", "0.25",
"globals.noodleZBlue", "0.4",
"globals.noodleZGreen", "0",
"globals.noodleZRed", "0",
"globals.paintFrameMode", "1",
"globals.pdfBrowserPath", "",
"globals.proxyTog.cycle", "-1,0,0,0,0,-1",
"globals.renderModeTog.cycle", "2,0,0,2",
"globals.rotoAutoControlScale", "1",
"globals.rotoBuildColorBlue", "0.75",
"globals.rotoBuildColorGreen", "0.75",
"globals.rotoBuildColorRed", "0.375",
"globals.rotoControlScale", "1",
"globals.rotoFocusColorBlue", "0.9375",
"globals.rotoFocusColorGreen", "0.375",
"globals.rotoFocusColorRed", "0.5",
"globals.rotoFocusSelectColorBlue", "0.5",
"globals.rotoFocusSelectColorGreen", "1",
"globals.rotoFocusSelectColorRed", "0.5",
"globals.rotoKeyedColorBlue", "1",
"globals.rotoKeyedColorGreen", "0.65",
"globals.rotoKeyedColorRed", "0.45",
"globals.rotoNormalColorBlue", "0.125",
"globals.rotoNormalColorGreen", "0.75",
"globals.rotoNormalColorRed", "0.75",
"globals.rotoNormalSelectColorBlue", "0.0625",
"globals.rotoNormalSelectColorGreen", "1",
"globals.rotoNormalSelectColorRed", "0.0625",
"globals.rotoPickRadius", "15",
"globals.rotoTangentColorBlue", "0.125",
"globals.rotoTangentColorGreen", "0.5625",
"globals.rotoTangentColorRed", "0.5625",
"globals.rotoTangentCreationRadius", "10",
"globals.rotoTempKeyColorBlue", "0",
"globals.rotoTempKeyColorGreen", "0.5",
"globals.rotoTempKeyColorRed", "1",
"globals.rotoTransformIncrement", "5",
"globals.showActiveGlows", "2",
"globals.showConcatenationLinks", "2",
"globals.showExpressionLinks", "2",
"globals.showTimeDependency", "2",
"globals.textureProxy", "1",
"globals.thumbAlphaBlend", "1",
"globals.thumbSize", "15",
"globals.thumbSizeRelative", "0",
"globals.viewerAspectRatio", "script.defaultViewerAspectRatio",
"globals.viewerZoom", "1.0/proxyScale",
"globals.virtualSliderMode", "0",
"globals.virtualSliderSpeed", "0.25",
"globals.warpBoundaryNormalColorBlue", "0",
"globals.warpBoundaryNormalColorGreen", "0.5",
"globals.warpBoundaryNormalColorRed", "1",
"globals.warpConnectionNormalColorBlue", "0.8",
"globals.warpConnectionNormalColorGreen", "0",
"globals.warpConnectionNormalColorRed", "0.4",
"globals.warpDisplacedNormalColorBlue", "1",
"globals.warpDisplacedNormalColorGreen", "0",
"globals.warpDisplacedNormalColorRed", "1",
"globals.warpLockedColorBlue", "0.6",
"globals.warpLockedColorGreen", "0.6",
"globals.warpLockedColorRed", "0.6",
"globals.warpSourceNormalColorBlue", "1",
"globals.warpSourceNormalColorGreen", "0.8",
"globals.warpSourceNormalColorRed", "0",
"globals.warpTargetNormalColorBlue", "0.7",
"globals.warpTargetNormalColorGreen", "0.2",
"globals.warpTargetNormalColorRed", "0.2",
"globals.webBrowserPath", "",
"mainQuad.bot", "0.6",
"mainQuad.left", "0.29",
"mainQuad.right", "0.35",
"mainQuad.top", "0.6",
"mainWin.height", "973",
"mainWin.tabChild1", "0.Image",
"mainWin.tabChild10", "0.CurveEditor2",
"mainWin.tabChild11", "0.NodeView2",
"mainWin.tabChild12", "0.Time_View",
"mainWin.tabChild13", "1.Parameters1",
"mainWin.tabChild14", "1.Parameters2",
"mainWin.tabChild15", "1.Globals",
"mainWin.tabChild16", "2.Viewers",
"mainWin.tabChild2", "0.Color",
"mainWin.tabChild3", "0.Filter",
"mainWin.tabChild4", "0.Key",
"mainWin.tabChild5", "0.Layer",
"mainWin.tabChild6", "0.Transform",
"mainWin.tabChild7", "0.Warp",
"mainWin.tabChild8", "0.Other",
"mainWin.tabChild9", "0.Furnace40",
"mainWin.width", "1914",
"mainWin.xPos", "62",
"mainWin.yPos", "30",
"nodeView.Keylight1.t", "0",
"nodeView.Keylight1.x", "254",
"nodeView.Keylight1.y", "259",
"nodeView.MultiLayer1.t", "0",
"nodeView.MultiLayer1.x", "287.75",
"nodeView.MultiLayer1.y", "154",
"nodeView.Primatte_v21.t", "0",
"nodeView.Primatte_v21.x", "190.5",
"nodeView.Primatte_v21.y", "327.75",
"nodeView.RotoShape1.t", "1",
"nodeView.RotoShape1.tnChannel", "0",
"nodeView.RotoShape1.tnTime", "1",
"nodeView.RotoShape1.tnVisible", "1",
"nodeView.RotoShape1.x", "451.5",
"nodeView.RotoShape1.y", "361.25",
"nodeView.Text1.t", "1",
"nodeView.Text1.tnChannel", "0",
"nodeView.Text1.tnTime", "1",
"nodeView.Text1.tnVisible", "1",
"nodeView.Text1.x", "363.75",
"nodeView.Text1.y", "528.75",
"nodeView.retro300927____.t", "1",
"nodeView.retro300927____.tnChannel", "0",
"nodeView.retro300927____.tnTime", "1",
"nodeView.retro300927____.tnVisible", "1",
"nodeView.retro300927____.x", "16.25",
"nodeView.retro300927____.y", "520",
"nodeView.xPan", "0",
"nodeView.yPan", "0",
"nodeView.zoom", "0.8",
"pixelAnalyzer1.aStatToggleState", "0",
"pixelAnalyzer1.accumulate", "0",
"pixelAnalyzer1.bStatToggleState", "0",
"pixelAnalyzer1.bit16ToggleState", "0",
"pixelAnalyzer1.bit32ToggleState", "1",
"pixelAnalyzer1.bit8ToggleState", "0",
"pixelAnalyzer1.gStatToggleState", "0",
"pixelAnalyzer1.hStatToggleState", "0",
"pixelAnalyzer1.hex", "0",
"pixelAnalyzer1.imgToggleState", "0",
"pixelAnalyzer1.lStatToggleState", "1",
"pixelAnalyzer1.offToggleState", "0",
"pixelAnalyzer1.pxlToggleState", "1",
"pixelAnalyzer1.rStatToggleState", "0",
"pixelAnalyzer1.sStatToggleState", "0",
"pixelAnalyzer1.vStatToggleState", "0",
"spawnedViewer0_h", "480",
"spawnedViewer0_w", "640",
"spawnedViewer0_x", "100",
"spawnedViewer0_y", "100",
"spawnedViewerCount", "1",
"timeBar.current", "71",
"timeBar.high", "500",
"timeBar.incr", "1",
"timeBar.low", "1",
"timeView.ctrls.selGroup", "0",
"timeView.wSpace.constDisp", "0",
"timeView.wSpace.dispInOut", "1",
"timeView.wSpace.endTime", "100",
"timeView.wSpace.startTime", "1",
"timeView.wSpace.trim", "0",
"updater.mode", "2",
"vDesk.0.chanTog.0.cycle", "4,0,0,0,0,0",
"vDesk.0.chanTog.1.cycle", "4,0,0,0,0,0",
"vDesk.0.compareMode", "0",
"vDesk.0.compareTog.cycle", "-1,0,0,0,-1",
"vDesk.0.displayModeA", "0",
"vDesk.0.displayModeB", "0",
"vDesk.0.dodNodeSerial", "SetDOD(Select1, 0, 1920, 0, 1080);",
"vDesk.0.dodToggle", "0",
"vDesk.0.g", "1",
"vDesk.0.h", "645",
"vDesk.0.i", "0",
"vDesk.0.ih", "0",
"vDesk.0.iw", "0",
"vDesk.0.lookupNodeSerial0", "TruelightVLUT(ViewerDodSelect, \"none\", \"monitor\", \"log\", 0, 0, 0, 0, 0, 0, 1, 0.01, 16, 0.1978, 0.4683);",
"vDesk.0.lookupNodeSerial1", "ViewerLookup1_(ViewerDodSelect, 1, 0, 2, 0, 0, 0, 95, rBlack, rBlack, 685, rWhite, rWhite, 0.6, rNGamma, rNGamma, 1.7, rDGamma, rDGamma, 0, rSoftClip, rSoftClip);",
"vDesk.0.lookupTog.cycle", "1,0,0,0",
"vDesk.0.lookupToggle", "0",
"vDesk.0.monitoredNodeA", "NRiScript1.MultiLayer1",
"vDesk.0.numViewerLookups", "2",
"vDesk.0.numViewerScripts", "6",
"vDesk.0.oscAutoKeyOnOff", "0",
"vDesk.0.oscLockTog.cycle", "1,0,0,0",
"vDesk.0.oscOnOff", "1",
"vDesk.0.oscTog.cycle", "1,0,0,1",
"vDesk.0.roiOnOff", "1",
"vDesk.0.scriptNodeSerial0", "ApertureMarking(riNode, \"Auto\", 0, 0, 1, 1, 1.0, 1.0, 1.0, 1.0, 3, 1, 0.2, academyDefaultRed, academyDefaultGreen, academyDefaultBlue, academyDefaultAlpha, academyDefaultLineWidth, 1, 0.4, academyDefaultRed, academyDefaultGreen, academyDefaultBlue, academyDefaultAlpha, academyDefaultLineWidth, 1, 0.6, academyDefaultRed, academyDefaultGreen, academyDefaultBlue, academyDefaultAlpha, academyDefaultLineWidth, 0, 0.8, academyDefaultRed, academyDefaultGreen, academyDefaultBlue, academyDefaultAlpha, academyDefaultLineWidth, 0, 0.5, academyDefaultRed, academyDefaultGreen, academyDefaultBlue, academyDefaultAlpha, academyDefaultLineWidth, 0, 0.25, academyDefaultRed, academyDefaultGreen, academyDefaultBlue, academyDefaultAlpha, academyDefaultLineWidth, 1.0, 1.0, 1.0, 1.0, 3, 0, 0.2, fullDefaultRed, fullDefaultGreen, fullDefaultBlue, fullDefaultAlpha, fullDefaultLineWidth, 1, 0.4, fullDefaultRed, fullDefaultGreen, fullDefaultBlue, fullDefaultAlpha, fullDefaultLineWidth, 1, 0.6, fullDefaultRed, fullDefaultGreen, fullDefaultBlue, fullDefaultAlpha, fullDefaultLineWidth, 1.0, 1.0, 1.0, 1.0, 1, 1, 20, 0.25, tvDefaultRed, tvDefaultGreen, tvDefaultBlue, tvDefaultAlpha, tvDefaultLineWidth, 1, 10, 0.5, tvDefaultRed, tvDefaultGreen, tvDefaultBlue, tvDefaultAlpha, tvDefaultLineWidth);",
"vDesk.0.scriptNodeSerial1", "ViewerScript2(riNode, 1, 1, 1, Input.width/2, Input.height/2);",
"vDesk.0.scriptNodeSerial2", "ViewerScript3(riNode, 3, 0, .5);",
"vDesk.0.scriptNodeSerial3", "ViewZ(riNode, 0, 0, 0, 5000000, 1, 100);",
"vDesk.0.scriptNodeSerial4", "FloatView_(riNode, 2, 0, 0, 1, 1-red1, 1-green1, 1-blue1);",
"vDesk.0.scriptNodeSerial5", "TimeCode_(riNode, \"Timecode\", 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, .5, 20, 20);",
"vDesk.0.scriptTog.cycle", "-1,0,0,0,0,0,0,-1",
"vDesk.0.scriptToggle", "0",
"vDesk.0.updateModeA", "1",
"vDesk.0.updateModeB", "1",
"vDesk.0.updateTog.0.cycle", "-1,0,0,1",
"vDesk.0.updateTog.1.cycle", "-1,0,0,1",
"vDesk.0.w", "1142",
"vDesk.0.x", "0",
"vDesk.0.xPan", "86",
"vDesk.0.xliderValue", "0",
"vDesk.0.y", "0",
"vDesk.0.yPan", "8",
"vDesk.0.zoom", "0.7527027",
"vDesk.viewers", "1"
);

Mac OS X (10.5.4)

Posted on Jan 28, 2010 8:41 AM

Close

Q: Best way to handle Text

  • All replies
  • Helpful answers