[{"data":1,"prerenderedAt":785},["ShallowReactive",2],{"navigation_docs":3,"-pipelines-node-catalog":271,"-pipelines-node-catalog-surround":780},[4,35,70,120,154,183,217,246,261],{"title":5,"path":6,"stem":7,"children":8,"page":34},"Getting started","\u002Fgetting-started","1.getting-started",[9,14,19,24,29],{"title":10,"path":11,"stem":12,"icon":13},"What is ISF Studio","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":15,"path":16,"stem":17,"icon":18},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Your first shader","\u002Fgetting-started\u002Ffirst-shader","1.getting-started\u002F3.first-shader","i-lucide-code-2",{"title":25,"path":26,"stem":27,"icon":28},"Your first pipeline","\u002Fgetting-started\u002Ffirst-pipeline","1.getting-started\u002F4.first-pipeline","i-lucide-workflow",{"title":30,"path":31,"stem":32,"icon":33},"Interface tour","\u002Fgetting-started\u002Finterface-tour","1.getting-started\u002F5.interface-tour","i-lucide-layout-panel-left",false,{"title":36,"path":37,"stem":38,"children":39,"page":34},"Library","\u002Flibrary","2.library",[40,45,50,55,60,65],{"title":41,"path":42,"stem":43,"icon":44},"The explorer","\u002Flibrary\u002Fexplorer","2.library\u002F1.explorer","i-lucide-folder-tree",{"title":46,"path":47,"stem":48,"icon":49},"Organizing files","\u002Flibrary\u002Forganizing-files","2.library\u002F2.organizing-files","i-lucide-files",{"title":51,"path":52,"stem":53,"icon":54},"Images and gallery","\u002Flibrary\u002Fimages-and-gallery","2.library\u002F3.images-and-gallery","i-lucide-image",{"title":56,"path":57,"stem":58,"icon":59},"Sharing","\u002Flibrary\u002Fsharing","2.library\u002F4.sharing","i-lucide-package",{"title":61,"path":62,"stem":63,"icon":64},"Installing in software","\u002Flibrary\u002Finstalling-in-software","2.library\u002F5.installing-in-software","i-lucide-folder-input",{"title":66,"path":67,"stem":68,"icon":69},"OpenFX plug-ins","\u002Flibrary\u002Fopenfx-plugins","2.library\u002F6.openfx-plugins","i-lucide-plug",{"title":71,"path":72,"stem":73,"children":74,"page":34},"Shaders","\u002Fshaders","3.shaders",[75,80,85,90,95,100,105,110,115],{"title":76,"path":77,"stem":78,"icon":79},"The code editor","\u002Fshaders\u002Fcode-editor","3.shaders\u002F1.code-editor","i-lucide-square-code",{"title":81,"path":82,"stem":83,"icon":84},"The ISF header","\u002Fshaders\u002Fisf-header","3.shaders\u002F2.isf-header","i-lucide-braces",{"title":86,"path":87,"stem":88,"icon":89},"The preview","\u002Fshaders\u002Fpreview","3.shaders\u002F3.preview","i-lucide-monitor-play",{"title":91,"path":92,"stem":93,"icon":94},"Input controls","\u002Fshaders\u002Finput-controls","3.shaders\u002F4.input-controls","i-lucide-sliders-horizontal",{"title":96,"path":97,"stem":98,"icon":99},"Presets","\u002Fshaders\u002Fpresets","3.shaders\u002F5.presets","i-lucide-bookmark",{"title":101,"path":102,"stem":103,"icon":104},"Console and fixes","\u002Fshaders\u002Fconsole","3.shaders\u002F6.console","i-lucide-terminal",{"title":106,"path":107,"stem":108,"icon":109},"Shader templates","\u002Fshaders\u002Ftemplates","3.shaders\u002F7.templates","i-lucide-layout-template",{"title":111,"path":112,"stem":113,"icon":114},"Vertex shaders","\u002Fshaders\u002Fvertex-shaders","3.shaders\u002F8.vertex-shaders","i-lucide-shapes",{"title":116,"path":117,"stem":118,"icon":119},"Font images","\u002Fshaders\u002Ffont-images","3.shaders\u002F9.font-images","i-lucide-type",{"title":121,"path":122,"stem":123,"children":124,"page":34},"Pipelines","\u002Fpipelines","4.pipelines",[125,129,134,139,144,149],{"title":126,"path":127,"stem":128,"icon":28},"Concepts","\u002Fpipelines\u002Fconcepts","4.pipelines\u002F1.concepts",{"title":130,"path":131,"stem":132,"icon":133},"Editing a graph","\u002Fpipelines\u002Fediting-graphs","4.pipelines\u002F2.editing-graphs","i-lucide-mouse-pointer-click",{"title":135,"path":136,"stem":137,"icon":138},"Node catalog","\u002Fpipelines\u002Fnode-catalog","4.pipelines\u002F3.node-catalog","i-lucide-boxes",{"title":140,"path":141,"stem":142,"icon":143},"Toolbox and snippets","\u002Fpipelines\u002Fsnippets-and-toolbox","4.pipelines\u002F4.snippets-and-toolbox","i-lucide-toolbox",{"title":145,"path":146,"stem":147,"icon":148},"Composing","\u002Fpipelines\u002Fcomposing","4.pipelines\u002F5.composing","i-lucide-combine",{"title":150,"path":151,"stem":152,"icon":153},"Macros","\u002Fpipelines\u002Fmacros","4.pipelines\u002F6.macros","i-lucide-package-plus",{"title":155,"path":156,"stem":157,"children":158,"page":34},"Media and inputs","\u002Fmedia","5.media",[159,164,168,173,178],{"title":160,"path":161,"stem":162,"icon":163},"Resources","\u002Fmedia\u002Fresources","5.media\u002F1.resources","i-lucide-clapperboard",{"title":165,"path":166,"stem":167,"icon":163},"Export a video","\u002Fmedia\u002Fvideo-export","5.media\u002F2.video-export",{"title":169,"path":170,"stem":171,"icon":172},"Videos and sounds","\u002Fmedia\u002Fvideos-and-sounds","5.media\u002F3.videos-and-sounds","i-lucide-audio-lines",{"title":174,"path":175,"stem":176,"icon":177},"MIDI","\u002Fmedia\u002Fmidi","5.media\u002F4.midi","i-lucide-sliders-vertical",{"title":179,"path":180,"stem":181,"icon":182},"OSC","\u002Fmedia\u002Fosc","5.media\u002F5.osc","i-lucide-radio-tower",{"title":184,"path":185,"stem":186,"children":187,"page":34},"Workspace","\u002Fworkspace","6.workspace",[188,193,198,203,208,213],{"title":189,"path":190,"stem":191,"icon":192},"Tabs and layout","\u002Fworkspace\u002Ftabs-and-layout","6.workspace\u002F1.tabs-and-layout","i-lucide-columns-2",{"title":194,"path":195,"stem":196,"icon":197},"History and clipboard","\u002Fworkspace\u002Fhistory-and-clipboard","6.workspace\u002F2.history-and-clipboard","i-lucide-history",{"title":199,"path":200,"stem":201,"icon":202},"Saving and drafts","\u002Fworkspace\u002Fsaving","6.workspace\u002F3.saving","i-lucide-save",{"title":204,"path":205,"stem":206,"icon":207},"Shortcuts","\u002Fworkspace\u002Fshortcuts","6.workspace\u002F4.shortcuts","i-lucide-keyboard",{"title":209,"path":210,"stem":211,"icon":212},"Preferences","\u002Fworkspace\u002Fpreferences","6.workspace\u002F5.preferences","i-lucide-settings",{"title":56,"path":214,"stem":215,"icon":216},"\u002Fworkspace\u002Fsharing","6.workspace\u002F6.sharing","i-lucide-share-2",{"title":218,"path":219,"stem":220,"children":221,"page":34},"Reference","\u002Freference","7.reference",[222,226,231,236,241],{"title":223,"path":224,"stem":225,"icon":84},"ISF header","\u002Freference\u002Fisf-header-reference","7.reference\u002F1.isf-header-reference",{"title":227,"path":228,"stem":229,"icon":230},"File formats","\u002Freference\u002Ffile-formats","7.reference\u002F2.file-formats","i-lucide-file-archive",{"title":232,"path":233,"stem":234,"icon":235},"Troubleshooting","\u002Freference\u002Ftroubleshooting","7.reference\u002F3.troubleshooting","i-lucide-life-buoy",{"title":237,"path":238,"stem":239,"icon":240},"ISF specifications","\u002Freference\u002Fisf-specifications","7.reference\u002F4.isf-specifications","i-lucide-book-marked",{"title":242,"path":243,"stem":244,"icon":245},"Pipeline text","\u002Freference\u002Fpipeline-text","7.reference\u002F5.pipeline-text","i-lucide-bot-message-square",{"title":247,"path":248,"stem":249,"children":250,"page":34},"For developers","\u002Fruntime","8.runtime",[251,256],{"title":252,"path":253,"stem":254,"icon":255},"Playing pipelines and shaders","\u002Fruntime\u002Fplaying-pipelines","8.runtime\u002F1.playing-pipelines","i-lucide-play",{"title":257,"path":258,"stem":259,"icon":260},"Listening to sound","\u002Fruntime\u002Flistening-to-sound","8.runtime\u002F2.listening-to-sound","i-lucide-audio-waveform",{"title":262,"path":263,"stem":264,"children":265,"page":34},"Licensing","\u002Flicensing","9.licensing",[266],{"title":267,"path":268,"stem":269,"icon":270},"Pricing","\u002Flicensing\u002Fpricing","9.licensing\u002F1.pricing","i-lucide-badge-euro",{"id":272,"title":135,"body":273,"description":773,"extension":774,"links":775,"meta":776,"navigation":777,"path":136,"seo":778,"stem":137,"__hash__":779},"docs\u002F4.pipelines\u002F3.node-catalog.md",{"type":274,"value":275,"toc":767},"minimark",[276,280,283,291,505,508,513,527,534,537,540,552,575,585,588,643,652,713,732,737],[277,278,279],"p",{},"The add menu offers a large number of nodes: GLSL functions, operations (maths), conditions, structure, values, conversions and ISF itself. There is no need to know them all: they are meant to be found when needed, not learned in advance.",[277,281,282],{},"Find them with the search field of the add menu, or browse by category:",[277,284,285],{},[286,287],"img",{"alt":288,"src":289,"width":290},"The categories of the add menu","\u002Fscreenshots\u002Fpipeline-addmenu.png",290,[292,293,294,307],"table",{},[295,296,297],"thead",{},[298,299,300,304],"tr",{},[301,302,303],"th",{},"Category",[301,305,306],{},"What you find",[308,309,310,322,336,349,359,369,379,392,402,412,433,446,465,475,485],"tbody",{},[298,311,312,319],{},[313,314,315],"td",{},[316,317,318],"strong",{},"Arrays",[313,320,321],{},"Make arrays, take them apart.",[298,323,324,333],{},[313,325,326,329,330],{},[316,327,328],{},"Branch"," and ",[316,331,332],{},"Conditions",[313,334,335],{},"Choose between values, compare, switch.",[298,337,338,346],{},[313,339,340,329,343],{},[316,341,342],{},"Constants",[316,344,345],{},"Values",[313,347,348],{},"Numbers, vectors, colours, and frequently used constants.",[298,350,351,356],{},[313,352,353],{},[316,354,355],{},"Conversions",[313,357,358],{},"Turn one type into another.",[298,360,361,366],{},[313,362,363],{},[316,364,365],{},"Functions",[313,367,368],{},"Define your own functions and call them.",[298,370,371,376],{},[313,372,373],{},[316,374,375],{},"GLSL",[313,377,378],{},"The functions GLSL gives you, as nodes.",[298,380,381,389],{},[313,382,383,329,386],{},[316,384,385],{},"Group",[316,387,388],{},"Loop",[313,390,391],{},"The structure: groups, and for\u002Fwhile\u002Fdo-while loops.",[298,393,394,399],{},[313,395,396],{},[316,397,398],{},"Helpers",[313,400,401],{},"Small utilities to keep a graph readable.",[298,403,404,409],{},[313,405,406],{},[316,407,408],{},"Inputs",[313,410,411],{},"The inputs of the pipeline: float, colour, image, point, event and the others.",[298,413,414,419],{},[313,415,416],{},[316,417,418],{},"ISF Macros",[313,420,421,425,426,425,429,432],{},[422,423,424],"code",{},"IMG_THIS_NORM_PIXEL",", ",[422,427,428],{},"TIME",[422,430,431],{},"RENDERSIZE"," and the other things ISF gives a shader.",[298,434,435,443],{},[313,436,437,425,440],{},[316,438,439],{},"Matrices",[316,441,442],{},"Vectors",[313,444,445],{},"Build and transform them.",[298,447,448,453],{},[313,449,450],{},[316,451,452],{},"Text",[313,454,455,456,459,460,464],{},"Comments, to-dos and Text: notes kept next to the nodes they describe, each with a string output that can be wired. ",[316,457,458],{},"Draw Text"," draws the string wired to it with a ",[461,462,463],"a",{"href":117},"font image",".",[298,466,467,472],{},[313,468,469],{},[316,470,471],{},"Operations",[313,473,474],{},"Maths. Add, multiply, mix, clamp, and related operations.",[298,476,477,482],{},[313,478,479],{},[316,480,481],{},"Passes",[313,483,484],{},"Multi-pass rendering and persistent buffers.",[298,486,487,492],{},[313,488,489],{},[316,490,491],{},"Scenes",[313,493,494,495,329,497,500,501,504],{},"Show one of several scenes, and go from one to another with a transition: ",[316,496,491],{},[316,498,499],{},"Scenes Clock"," (see ",[461,502,491],{"href":503},"#scenes",").",[277,506,507],{},"The shaders and pipelines of your library are nodes too: drag them in from the explorer.",[509,510,512],"h2",{"id":511},"switch","Switch",[277,514,515,516,518,519,522,523,526],{},"A ",[316,517,512],{}," gives the value of the case its selector picks, and the ",[316,520,521],{},"default"," when none matches. Wire a ",[316,524,525],{},"Long"," input to the selector and the switch takes its choices as cases.",[277,528,529,530,533],{},"Only the picked case is worked out. What feeds a single case, and has work to do (a value read twice, a function call), is computed inside that case in the generated shader, not before the switch. What feeds more than one case, or feeds something outside the switch, is computed before it, as it always was. This holds for a switch in the graph or in a group, a macro included; in a function, a loop or an ",[316,531,532],{},"If",", the switch works as before.",[277,535,536],{},"Shaders and pipelines with several passes always render all their passes, whatever case is picked: a pass is a step of the frame, not of a case.",[509,538,491],{"id":539},"scenes",[277,541,542,544,545,548,549,551],{},[316,543,491],{}," shows one of several ",[546,547,539],"em",{}," (each is a colour: the result of a pipeline, or of any node) and can go from one to the other with a transition. Both nodes are in the ",[316,550,491],{}," menu.",[277,553,554,555,558,559,562,563,566,567,570,571,574],{},"A scene is a colour (a ",[316,556,557],{},"vec4",") unless you change ",[316,560,561],{},"Type of the scenes"," in the inspector: a ",[316,564,565],{},"float",", a ",[316,568,569],{},"vec2"," or a ",[316,572,573],{},"vec3"," (all the scenes and the result of the node then have that type, so it picks and mixes numbers and vectors). The transition mixes them by the same amount; only a colour has an alpha to take in.",[277,576,577,578,580,581,584],{},"Wire a ",[316,579,525],{}," input to the ",[316,582,583],{},"Scene"," port of a Scenes node: its values and labels become one input for each scene, named by its label. Wire the colour of each scene to its input.",[277,586,587],{},"There are three ways to change scene, from the simplest.",[589,590,591,598,632],"ul",{},[592,593,594,597],"li",{},[316,595,596],{},"A cut."," Nothing else wired: the scene that the menu picks is the one shown. This is a Switch for colours.",[592,599,600,603,604,606,607,609,610,613,614,425,616,613,619,425,621,613,624,626,627,329,629,631],{},[316,601,602],{},"A transition that happens by itself."," Wire the ",[316,605,525],{}," to a ",[316,608,499],{}," instead, give it the length of the transition in seconds, and wire its outputs to the Scenes node: ",[316,611,612],{},"To"," into ",[316,615,583],{},[316,617,618],{},"From",[316,620,618],{},[316,622,623],{},"Progress",[316,625,623],{},". (",[316,628,612],{},[316,630,618],{}," the other way round show the new picture at once, then fade back to the old one.) Each time the menu changes, the clock remembers the scene that was shown and the Scenes node goes from it to the new one. The scenes keep the names of the menu.",[592,633,634,637,638,329,640,642],{},[316,635,636],{},"A transition you drive."," Wire ",[316,639,618],{},[316,641,623],{}," yourself (for example a Float input from 0 to 1, animated by keyframes in a video editor): nothing is remembered, and a frame always looks the same whatever was played before it.",[277,644,645,648,649,651],{},[316,646,647],{},"Transition"," is the kind of the change: a number, or a ",[316,650,525],{}," input with these labels. When it is not wired, the node uses the kind in its inspector.",[292,653,654,663],{},[295,655,656],{},[298,657,658,661],{},[301,659,660],{},"Value",[301,662,647],{},[308,664,665,673,681,689,697,705],{},[298,666,667,670],{},[313,668,669],{},"0",[313,671,672],{},"Cut",[298,674,675,678],{},[313,676,677],{},"1",[313,679,680],{},"Fade",[298,682,683,686],{},[313,684,685],{},"2, 3, 4, 5",[313,687,688],{},"Wipe right, left, up, down",[298,690,691,694],{},[313,692,693],{},"6",[313,695,696],{},"Iris, from the centre",[298,698,699,702],{},[313,700,701],{},"7",[313,703,704],{},"Dissolve",[298,706,707,710],{},[313,708,709],{},"8",[313,711,712],{},"Blinds",[277,714,715,716,719,720,723,724,727,728,731],{},"A scene often has a clock of its own, which should start again when the scene is shown. A Scenes Clock gives ",[316,717,718],{},"Time"," since the change and ",[316,721,722],{},"Changed",", true for the one frame in which the menu changed: wire ",[546,725,726],{},"Changed, and the scene is mine"," to the ",[316,729,730],{},"Reset"," of a pipeline, or use the time to drive what appears in a scene. The example below does both.",[277,733,734],{},[316,735,736],{},"Good to know:",[589,738,739,749,755,764],{},[592,740,741,744,745,748],{},[316,742,743],{},"Only the scene that is shown is worked out, and the one a transition comes from while it lasts",", as in a Switch: what feeds one scene only (and nothing else) is computed when that scene is needed. What feeds more than one scene, or something outside the node, is computed in every frame, and a pipeline with passes always renders all its passes, shown or not: keep the scenes you do not need out of the graph. Turn off ",[316,746,747],{},"Work out only the scenes in use"," in the inspector to work out every scene in every frame: a scene that was never worked out can take a moment the first time it is shown, which a short transition then jumps over.",[592,750,751,754],{},[316,752,753],{},"A transition mixes the values that the two scenes give at each point."," It cannot move a scene (push, zoom): a scene is a colour, not a picture. The colours are mixed with their alpha taken in, so a scene that is clear around a shape does not get a dark edge.",[592,756,757,760,761,763],{},[316,758,759],{},"The Scenes Clock keeps a memory"," of one pixel. Like every pipeline that keeps what it drew, it needs the video to be played in order: a host that renders frames out of order, or that you scrub, starts again each time (see the ",[461,762,66],{"href":67},"). For these, drive the transition yourself.",[592,765,766],{},"If the menu changes in the middle of a transition, the next one starts from the scene that was reached.",{"title":768,"searchDepth":769,"depth":769,"links":770},"",2,[771,772],{"id":511,"depth":769,"text":512},{"id":539,"depth":769,"text":491},"The categories of nodes that ISF Studio ships with.","md",null,{},{"icon":138,"title":135},{"title":135,"description":773},"KEt-HJS7PKaJKJ7Vp8RfdJoCcEgdJauepQ9nGMhwfOU",[781,783],{"title":130,"path":131,"stem":132,"description":782,"icon":133,"children":-1},"Add, connect, group and arrange nodes.",{"title":140,"path":141,"stem":142,"description":784,"icon":143,"children":-1},"Reusable GLSL, as code or as nodes.",1796047426773]