Houdini at school Houdini - What's different at school? Houdini at school isn't all that different from stock Houdini, however there are a couple of things to note. Color management Color management is globally configured for all our applications at school and Houdini is no exception. Luckily you don't have to worry about this too much. Textures going into Houdini should already be in ACEScg and your renders will automatically be in ACEScg as well. Sometimes you might have to set some color transforms on textures, for which a reduced list of common options will be available in the regular image nodes. Render engines You'll see a big list of Houdini versions when you open the Windows start menu: By default external render engines are disabled when you open Houdini. In order to use those render engine you'll have to open the correct Houdini version that has the name of the render engine next to it. Houdini launched using ShotGrid will look at the ShotGrid render engine setting to determine which render engines should be enabled when Houdini starts. Extra tools Depending on the Houdini version a couple of additional tools are available. The most notable of these are Axiom Solver and Groombear. Pretty much all of our custom Houdini tools are only available when working in our ShotGrid pipeline. Houdini - Rendering on the farm You'll probably want to render your Houdini projects on our render farm. The farm renders with the same Houdini version you submit from, so you don't have to worry about versions. Before you submit Save your .hip file on our storage server. A file that isn't saved, or is saved on a local drive, can't be submitted. All files your scene uses (textures, HDRIs, caches, USD files, ...) have to be on the storage server too. Set the output path on your render node to a location on our storage server, like this example: Two ways to submit There are two ways to send your render to the farm. Both work equally well, so pick whichever suits your scene: The Render menu: quickest when you just want to render one node. A Deadline node: handy when you render several nodes, each with its own settings, or when one has to wait for another (for example a cache before a render). Option 1: the Render menu Click Render > Submit To Deadline in the top menu bar. The Deadline submission window opens, with most fields already filled in for you: Job Name: the name of your job in the Deadline Monitor. Change it to something descriptive. Comment: shown in the Comment column of the Monitor. Optional. Pool / Group: You can specify only using 128gb machines for rendering, if you do not need that; just leave it on  none . Priority: jobs with a higher priority are picked up first when a PC is free. Don't change it unless you've agreed on a different number with your render managers. Concurrent Tasks: how many tasks one PC renders at the same time. Leave it on 1 for renders. For light jobs, like small caches, you can set it a bit higher. ROP To Render: Choose lets you pick one render node from the list, Selected submits the nodes you have selected, and All submits every render node in your scene. Override Frames: the frame range comes from your render node. Tick this to render other frames, for example 1,10,20 for a few test frames. Frames Per Task: how many frames one PC renders before it picks up the next task. 1 is fine for most renders. Run Sanity Check (local files): leave this on, see below. Leave the other options as they are. Press Submit , and your job shows up in the Deadline Monitor. Your settings are saved with your .hip file, so they're still there the next time you submit. Option 2: a Deadline node Go to the out network. Create a fetch node and set the source to the node you want to render: Then add a deadline node and connect the fetch node to it. Nodes connected one after another render in that order: The deadline node has the same options as the submission window above. Change the job name to something descriptive and check the frame range. If your render is very lightweight you might want to change the concurrent tasks option in the Job Options tab to something a bit higher. Make sure to set the frame range properly on both the deadline node and the fetched node that should be rendered. Press Submit To Deadline on the node to send your render to the farm. Working in our ShotGrid pipeline? Then use the NFA_Deadline node instead, see Houdini - USD workflow . The sanity check Whichever way you submit, we first check the nodes you're about to render. If any of them use files on a local drive (like C:\), you get a list of those files. Those files won't be found on the farm, so your render will fail or come out wrong. Press Cancel and move the files to the storage server, or press Submit Anyway if you're sure. Caches File Cache nodes aren't picked up when you submit. To cache on the farm, go to the out network and create a fetch node pointing to the ROP inside your File Cache node, or use a ROP Geometry Output node. Then submit that with either option. When something goes wrong If your job fails, check the job comment in the Deadline Monitor first; our event plugins explain there what happened. Sanity check by Robbert Scholten. Houdini - USD workflow How to setup a USD workflow on a Shotgrid project Setup Step by Step Guide Opzetten van de workflow. Stap 1: het opzetten in shotgrid Als je een project hebt aangemaakt met de NFA Shotgrid Project Creator dan kun je naar Assets navigeren.  Bij assets moet je een task aanmaken en daar moet het volgende bij zitten: Asset Name Type: mag op FX mag ook CFX wat je zelf fijn vind Task Template: HEEL BELANGRIJK!!! We hebben een FX task nodig anders werkt het niet.  Als je wat lekkerder wil kijken naar je tasks dan kun je op het plusje klikken en dan navigeren naar: Pipeline->steps->FX Stap 2: Houdini Setup Nu je de FX task hebt gemaakt kun je in houdini daar een file aanmaken. Vergeet natuurlijk niet even je bestand op te slaan. Maak daarna de NFA_Context_Manager node aan op OBJ level en selecteer de context (Scene - Shot nummer). Als er geen context te selecteren valt dan moet je eerst in Shotgrid wat shots aanmaken. Houdini dropdown menus doen soms een beetje gek, dus het is fijner om minstens 2 sequences te hebben, anders selecteerd hij niks. LET OP BELANGRIJK!!! als je een shot aanmaakt bij Shotgrid Shots, klik hier dan wel even bij 'Task Template' op '3d Shot', dan zijn er gelijk FX tasks en die zijn nodig. ZEG TEGEN JE SUPERVISERS DAT ZE WEL MENSEN ASSIGNEN OP FX TASKS ALS ZE DIE HEBBEN, ANDERS KRIJGEN ZE GEEN FEEDBACK. De FX task is namelijk nodig zodat je jouw playblasts in de Asset-FX dankzij de juiste context options hier dan uitkomen bij de Shot-FX task. Selecteer de context die je wilt en klik op Get Context. Als je op get context hebt geklikt zal er een LOPNET aangemaakt worden met een usdloader. in deze loader haalt hij de usda binnen. en inderdaad deze is natuurlijk nog leeg want er is niks naar toe geschreven. Stap 3: FX uitschrijven een rest kan ook geen kwaad je FX schrijven begint bij SOPS. Met een attribute wrangle maak je de gewenste prims op een methode zoals je hierboven ziet. Ga vervolgens in de LOPNET (die aangemaakt wordt door de contextmanager en waarin dus de layerstack zit.) Maak hierin een sopimport met de deze gewijzigde values: soppath import path prefix = leeg subset groups = * Maak een NFA_USD_Out node aan. hierin moet je dan bij Default Primitive even je main naam gooien. en daarna druk je op Save to Disk Klik opnieuw bij de ContextManager op 'get context' en als je dan kijkt door de Layerstack dan zul je render zien. dit zou er dan zo uit moeten zien. Als je voor elke template de naamgeving verandert dan krijg je mooie geordende mapjes Stap 4: Animatie uploaden Als je je shots hebt aangemaakt met de 3d shot task template dan heb je al een animatie task, zo niet dan moet je die even aanmaken. Maak een houdini bestand aan en save hem natuurlijk en maak dan weer een context manager aan waarin je de context aangeeft en je de layerstack weer ophaalt met get context. Maak daarna even een geo node aan, hierin gaan we de animatie importeren van jouw gewenste programma. Als je met maya werkt dan kun je het met shotgrid inladen als je het daarmee ook gepublished hebt. Met blender moet je het even handmatig doen. Je kan in die geonode ook een hele setup maken maar dat hoeft niet perse, het komt uiteindelijk weer aan op de correcte primitives. Daarna doe je weer dezelfde truc in je LOPNET en doe je een sopimport en een usdout met de correcte default primitive DEBUGGING/FAQ Mocht je met je layerstack krijgen dat je bestand na het schrijven leeg is dan heb je waarschijnlijk de verkeerde primitives gebruikt. Zorg er altijd voor dat je primpath correct is zodat alles netjes gesorteerd wordt en op de juiste plek komt. Hoe werkt het allemaal (voor pipeline nerds) Context Options: De layerstack werkt doormiddel van Context options Dit vind je onder Edit-> Context Options Dit is gewoon een plekje van houdini waar je jouw variables kan opslaan en opvragen.   Alle nodes en Python Alle code staat hier: C:\pipeline\houdini\hsite\houdini21.0\python3.11libs dit kun je aanpassen via onze gitlab Alle nodes staan hier: C:\pipeline\houdini\hsite\houdini21.0\otls ook dit pas je aan met gitlab   Bijna alle nodes zijn nu gemaakt met de HDABuilder.py ik zou hoopte alles daarmee uiteindelijk omgeschreven te hebben maar ben daar nog niet aan toegekomen. Voor nu zijn alleen de Dopswitch, Usd out, en filecache met code gemaakt. Dit is efficienter en toekomst bestendiger zodat je snel in je console een hda kan bouwen voor een nieuwe houdini versie en in de pipeline kan zetten.     NFA Switch, NFA Filecache en NFA deadline nodes NFA Switch Soms wil je bepaalde inputs veranderen tussen shots door. dit kun je makkelijk op deze manier in je nodetree sorteren.  LETOP! De eerste input pakt hij altijd als hij tussen alle andere inputs geen vergelijkbare naam kan vinden. Deze moet je all_ noemen. en er mag een cijfer achter, het belangrijkste is dat er een underscore staat. Al je andere nodes moeten een naam hebben zoals jouw context eruit ziet. dus scene_shot_cijfer (cijfer want je wil natuurlijk meerdere switchnodes in je tree kunnen plaatsen en als je hier geen cijfer doet dan heet hij natuurlijk automatisch 0010_0011 en dat is niet de context) NFA Filecache Deze cachenode plaatst alle caches in de juiste context. Belangrijk is vooral de taskname. Deze name wil je natuurlijk 1 keer zetten en niet meer veranderen zodat je altijd tijdens het verwisselen van context de juiste cache weer inlaadt.     FX Cache renderen Maak een ropnet aan en noem hem ROPNET.   Als je meerdere fetches wil gebruiken kun je met de NFA_Deadline de Frames per task, de Concurrent task en de Priority aanpassen op individuele render.  Let op BELANGRIJK!   De Fetch moet een direct pad krijgen naar de ROP_GEO in de filecache. Op deze manier kun je een 'set path' knop en een 'NFA render' knop krijgen.