On this page

New Nodes

  • New ML Computer Vision workflow covers the full computer vision process within Houdini using a provided example file. This process allows you to take a video, isolate an object of interest, train a model on that dataset, and then run the model on the video to isolate that object throughout the video.

  • New ML Preprocess GSplats TOP preprocesses rendered EXR images, cameras, and a point cloud into a COLMAP-like dataset for Gaussian Splat training.

  • New ML Train GSplats TOP trains a 3D Gaussian Splatting model from a set of posed images.

  • New Make Textures TOP for batch converting images into texture maps for more efficient rendering.

  • New USD Zip TOP takes in file input(s) and produces self-contained .usdz files of USD assets by calling the usdzip commandline tool.

Updated Nodes

  • The File Pattern TOP can now create an attribute on the generated work items that tracks the common root directory of matched files and the total number of matched files.

  • The Python Script TOP now has a Background Task option when creating out-of-process tasks, which allows them to run in the background without taking up a scheduler slot.

  • The Python Script TOP now has the Load Scene File and Apply Wedges parameters when cooking out-of-process with hython, for specifying a .hip file to load before evaluating any script code.

  • The Virtual Environment TOP now has an Extra Pip Args parameter for specifying extra arguments to pass to the pip executable the node uses.

  • The Virtual Environment TOP now has an Extra Install Args parameter for specifying extra arguments to pass to the pip install command it runs when installing packages.

  • The Use Symlinks option on the Python Virtual Environment TOP is now a drop down menu, which makes it possible to turn on symlinks on Linux and Mac but turn them off on Windows.

  • The File Compress TOP now has an option to recursively added input directories into the generated archive.

  • The ROP Fetch TOP and nodes derived from it now support specifying non-contiguous frame ranges using a Value Pattern.

APIs

  • Geometry attributes on work items are now accessible in the Python API. The geometry data can be accessed using the pdg.AttributeGeometry.geometry property as a hou.Geometry object.

  • Work items now have a new pdg.WorkItem.scriptDir property to query the directory that contains job scripts associated with the work item and its scheduler. This property is available in-process and out-of-process.

  • Added a new @pdg_platform intrinsic attribute and a pdg.curPlatform() function that returns the current platform as an integer, using the same values as the pdg.platform enumeration.

Services

  • The Local Scheduler TOP now supports running scheduler services created using the Service Create Top.

  • Scheduler services can now be configured to use the graphs default scheduler or the first scheduler of a given type, rather than a specific scheduler.

  • Service clients that are still running work items when a graph is canceled are down also canceled automatically.

  • Service clients that are stopped at the beginning of a cook are started automatically, for running services that are configured to auto-start.

  • The PDG Service Panel now shows scheduler services as read-only entries. If a scheduler service is running, the panel will show the path to the scheduler associated with that service.

  • The method for registering a custom service types now takes a script file path argument, which sets up a file dependency so that the script is copied to the working directory automatically.

  • The Python Script Service now supports the --native extra argument in the Service Panel, to force tasks to load as native work items.

  • The Python Script Service now supports the --apply_wedges extra argument in the Service Panel, to force tasks to apply wedges to nodes in the scene before cooking.

Schedulers

  • Added a new Service Scheduler TOP which overrides the schedule behavior of a node that cook service-based work items.

  • Farm schedulers like the HQueue Scheduler TOP now have a parameter to override the .hip file path when using the Submit as Job workflow.

What’s new in Houdini 22