Releases: GafferHQ/gaffer
Releases · GafferHQ/gaffer
Gaffer 1.4.2.0
Features
- ContactSheet : Added new node for creating contact sheets from multiple input images.
- LightPositionTool : Added
Diffuse
mode for placing lights along the normal of the target position.
Improvements
- TweakPlug :
ListAppend
,ListPrepend
andListRemove
modes are now supported for string values. In this case, the string is treated as a space-separated list. - Cycles :
- Changed default value for
principled_bsdf.specular_ior_level
to0.5
, matching Blender. - Added support for
uv.tangent
anduv.tangent_sign
primitive variables to assist in rendering with normal maps (#5269).
- Changed default value for
- AttributeQuery, PrimitiveVariableQuery, ContextQuery, OptionQuery, ShaderQuery : Added support for querying arrays of length 1 as their equivalent scalar types.
- CodeWidget : Added Ctrl+L shortcut for selecting all text on the current line.
- AttributeTweaks, CameraTweaks, ShaderTweaks, OptionTweaks, PrimitiveVariableTweaks :
- Added support for a
{source}
token which is substituted with the original value when tweaking a string inReplace
mode. - Added tooltips documenting the tweak modes.
- Added support for a
- 3Delight : Added automatic render-time translation of UsdPreviewSurface shaders to 3Delight.
- USDLight :
- Added Arnold-specific extension parameters.
- Added parameter tooltips.
- LightEditor : Added columns for Arnold-specific parameters on USD lights.
- Switch : Added
deleteContextVariables
plug.
Fixes
- Viewer : Fixed Cycles shader balls.
- TweakPlug : Fixed incorrect results and potential crashes in list modes.
- USD : Fixed
Unsupported value type "StringData" for parameter "input"
warning when convertingUsdTransform2d
shaders with noin
connections to Arnold. - File Browser : Windows only : Fixed bug in
HiddenFilePathFilter
that caused sequences to be treated as though they are hidden files (#5810).
API
- PlugAlgo :
setValueFromData()
andcanSetValueFromData()
now support conversion of arrays of length 1 to their equivalent scalar types. - BoxPlug : Added Python bindings for
ValueType
,PointType
andChildType
type aliases. - RenderPassEditor : Added
deregisterColumn()
method. - DocumentationAlgo : Added table and strikethrough support to
markdownToHTML()
. - LightEditor : Added
columnName
parameter toregisterParameter()
method, matching the behaviour ofRenderPassEditor.registerOption()
. - USDShader : Added support for loading from the UsdSchemaRegistry as well as from the SdrRegistry. This is now used when loading UsdLuxLights.
- PlugLayout : Added support for activators in Boxes and extension nodes by allowing
layout:activator:activatorName
metadata to contain a Python string to be executed. Execution is performed in an environment where aparent
variable refers to node or plug represented by the layout, and from which plug values can be obtained. - ContactSheetCore : Added a new node to do provide the basis for networks that create contact sheets from multiple input images.
Build
- MacOS : Fixed issue where
Python.framework
may not be found when building with a prebuilt dependencies package.
Gaffer 1.3.16.2
Fixes
- File Browser : Windows only : Fixed bug in
HiddenFilePathFilter
that caused sequences to be treated as though they are hidden files (#5810).
Gaffer 1.4.1.0
Features
- MeshTessellate/MeshType : Added support for special-purpose subdiv options: interpolateBoundary, faceVaryingLinearInterpolation, triangleSubdivisionRule.
Improvements
- Group : Added
sets
plug, to control what sets the group belongs to. - USD : Added automatic render-time translation of UsdPreviewSurface shaders to Cycles.
- SetEditor : Added support for dragging a set name onto a node in the Graph Editor to create or modify a connected
SetFilter
node. Holding Shift while dragging will add to the set expression. Holding Control will remove from the set expression. Only set expressions with a simple list of sets are supported. Expressions with boolean or hierarchy operators are not supported. - GraphEditor : Improved pointer used to indicate when dropping a location would find the source node.
- RenderPassEditor :
- Added "Camera Inclusions" and "Camera Exclusions" columns, providing control over the camera visibility of scene locations in each render pass.
- Added "Matte Inclusions" and "Matte Exclusions" columns, providing control over the scene locations used as holdout mattes in each render pass.
Fixes
- NameSwitch : Fixed NodeEditor tab order, so that the Settings tab precedes the Advanced tab.
- NodeAlgo : Fixed presets inheritance for promoted plugs with multiple outputs.
- TaskNode / GafferCortex : Fixed missing GIL releases that caused hang at ImageEngine.
Build
- Cortex : Updated to version 10.5.7.0.
- OpenEXR : Updated to version 3.1.13.
- USD : Added
sdrOsl
, for inclusion of OSL shaders in the Sdr Registry.
Gaffer 1.3.16.1
Fixes
- NodeAlgo : Fixed presets inheritance for promoted plugs with multiple outputs.
- TaskNode / GafferCortex : Fixed missing GIL releases that caused hang at ImageEngine.
Gaffer 1.4.0.0
Note : This release introduces
linux-gcc11
builds which are only compatible with Linux distributions using glibc 2.28 or higher.
These specificlinux-gcc11
builds are intended for testing purposes while we upgrade our toolchain and dependencies to better align
with VFX Platform 2023, and should be considered "beta" in advance of a stable release in Gaffer 1.5.
Features
- Arnold : Added support for Arnold 7.3. Note that a minimum of 7.3.1.0 is required, meaning that 7.3.0.0 is not supported.
- Cycles :
- Updated to version 4.0.2.
- Added support for CUDA and Optix devices (GCC 11 and Windows builds only).
- Dispatcher : Dispatchers are now TaskNodes, allowing them to be nested in a task graph. Possibilities include :
- Using a LocalDispatcher and a Wedge to launch multiple TractorDispatcher jobs.
- Using a nested LocalDispatcher to perform a group of tasks on a single blade within a TractorDispatcher job.
- SelectionTool : Added select mode plug. When set to anything except
Standard
using the SelectionTool causes the actual scene location selected to potentially be modified from the originally selected location. Selection modifiers work identically for deselection. Currently, two selectors are implemented :- USD Kind : When selecting, the first ancestor location with a
usd:kind
attribute matching the chosen list of USD Kind will ultimately be selected. USD's Kind Registry includesAssembly
,Component
,Group
,Model
andSubComponent
by default and can be extended via USD startup scripts. - Shader Assignment : When selecting, the first ancestor location with a renderable and direct (not inherited) shader attribute will ultimately be selected. This can be used to select either surface or displacement shaders.
- USD Kind : When selecting, the first ancestor location with a
- GraphEditor : Added X shortcut for removing connections between nodules. Hold X then left click to remove all connections under the cursor. Hold X then left drag to draw a line, all connections that intersect with the line will be removed once the drag is ended (#788).
- LightPosition Tool : Added a variation on the shadow placement tool to place highlights. Lights are positioned such that they will create a specular highlight at the target point.
- DeepSlice : Added a new node for clipping out part of an image based on depth.
- MeshTessellate : Added a new node for increasing the polycount of subdivision meshes.
- ImageInspector : Added a new panel for inspecting image format, metadata and channel statistics.
Improvements
- Arnold :
- OSL shaders with connections from multiple outputs are no longer duplicated on export to Arnold.
- Gaffer's native OpenColorIO config is now automatically translated to Arnold. Use an ArnoldColorManager node to override this behaviour.
- ArnoldShader : Added parameter tooltips based on
help
metadata provided by Arnold. - CyclesOptions : Improved device selection UI.
- 3Delight :
- Added NSI screen static sampling pattern option (
dl:staticsamplingpattern
). - Added support for
layerName
parameter in output definitions. - Added support for
filter
parameter in output definitions. - Added camera overscan support.
- Added support for reading
dl:
anduser:
attributes from shaders. - Added
importanceSampleFilter
plug to DelightOptions, providing denoiser-compatible output. - Added support for external procedurals.
- Matched DelightOptions default values for
oversampling
andshadingSamples
to 3Delight's own default values. - NSI scene description export format is now based on file extension -
.nsi
for binary and.nsia
for ASCII.
- Added NSI screen static sampling pattern option (
- EditScope : Added a summary of edits in the NodeEditor, with the ability to select the affected objects and quickly navigate to the processor nodes.
- GraphEditor :
- The source node for any location can be located by dragging the location into the GraphEditor from the Viewer or HierarchyView.
- Removed all renderer-specific Render and InteractiveRender nodes from the node menu. These nodes still exist for backwards compatibility with old scenes, but the generic Render and InteractiveRender nodes should now be used instead.
- Improved logic used to connect a newly created node to the selected nodes.
- GraphComponent : Node and Plug names may now start with a numeric digit.
- LocalDispatcher :
- Added a new dockable LocalJobs editor, to replace the floating window previously accessible via the "Execute/Local Jobs" menu item.
- Task output is now shown in the UI.
- Jobs are no longer removed from the UI as soon as they complete.
- Incomplete jobs are now killed automatically when the application is closed, after prompting to confirm that shutdown should go ahead.
- LightPositionTool : The tool is now only visible for members of the
__lights
set, instead of all objects. - Catalogue : Added
imageNames
output plug, containing the names of all images in the Catalogue. Among other things this can be used to drive a Wedge or ContactSheet node and a CatalogueSelect. - ImageReader : Added
fileValid = False
metadata to images from missing frames, whenmissingFrameMode
isBlack
orHold
. - Collect : Added the ability to collect StringVectorData inputs.
- Toolbars : Changed hotkey behavior to toggle any tool on and off. Exclusive tools such as the Translate and Crop Window tools activate the first tool (currently Selection Tool) when they are toggled off.
- CropWindowTool : Added
Alt
+C
for toggling both the crop window tool and the relevant crop windowenabled
plug. - TaskList, FrameMask : Reimplemented in C++ for improved performance.
- Cache : Increased default computation cache size to 8Gb. Call
Gaffer.ValuePlug.setCacheMemoryLimit()
from a startup file to override this. - Dispatcher : Reduced internal overhead of
dispatch()
call, with one benchmark showing around a 3x speedup. - ScriptWindow : Added "Save" option to dialogue shown when closing a window containing unsaved changes.
- Resize :
- Added support for deep images.
- Added "Nearest" filter.
- Shuffle :
- Reimplemented to match ShuffleAttributes and ShufflePrimitiveVariables.
- Any number of shuffles can be added using the UI.
- Wildcards can be used to match multiple source channels, and expressions can be used to map them to destination channels.
- Source channels can optionally be deleted after shuffling.
- Overwriting of destination channels can optionally be avoided.
- Added
missingSourceMode
plug to determine behaviour when a source channel doesn't exist.
- Reimplemented to match ShuffleAttributes and ShufflePrimitiveVariables.
- NodeEditor : Improved image channel selectors :
- Added "Custom" option, to allow strings to be entered manually.
- Added right-click context menu.
- Switch : Added
connectedInputs
output plug. - Backdrop : Improved drawing order for nested backdrops :
- Larger backdrops are automatically drawn behind smaller ones, so that nested backdrops will always appear on top.
- Added a
depth
plug to assign a manual drawing depth for the rare cases where the automatic depth is unwanted.
- ImageStats : Added
areaSource
plug, allowing area to be driven by the input display window or data window. - ScenePlug, ImagePlug : Child plugs are now serialisable. Among other things, this enables them to be driven by expressions (#3986).
- Premultiply : Added
useDeepVisibility
plug, which weights samples according to their visibility based on the opacity of samples in front. - ImageReader : Improved multithreading of EXR reads. This can result in a performance improvement of around 4X for large images.
- Added OIIO config that disables OIIO threading by default. This simplifies our threading model, and has no impact on performance for our main use cases. If read performance of Gaffer compositing using non-EXR formats, such as Tiff, is important to you, you may want to add your own config to turn OIIO threading back on.
- Wireframe :
- Improved performance ~3x.
- Improved cancellation responsiveness.
Fixes
- Arnold :
- Fixed rendering of shaders imported from HtoA via USD.
- Fixed USD export of shaders to use
outputs:out
instead ofoutputs:DEFAULT_OUTPUT
. - Fixed rendering of
osl
shaders using thecode
parameter.
- Cycles :
- Fixed hangs and crashes when using non-default session modes such as SVM shading.
- Fixed failure to render background light in batch renders (#5234).
- Fixed failure to update when reverting a background shader to previous values.
- 3Delight :
- Fixed failure to change sampling pattern per frame.
- Fixed Resolution Multiplier support.
- Fixed UI visibility of
angle
parameter for distant lights, which was previously hidden. - Fixed export of
Varying
primitive variables on meshes (#5781). - Fixed loading of surface shaders such as
dlStandard
so that they can be connected to the inputs of shaders such asdlLayeredMaterial
.
- Widget :
- Fixed bug that prevented Gadgets from receiving drops from another application.
- Fixed errors when dragging from another application onto widgets that didn't expect it.
- Gadget : Fixed access to
DragDropEvent.sourceWidget
andDragDropEvent.destinationWidget
from Python slots connected to a Gadget's DragDropSignals. - GraphGadget : Fixed unwanted highlighting of nodes when custom drag & drop handlers were active.
- Viewer : Fixed selection overlay glitches with an Arnold
skydome_light
and an empty selection. - GafferTest, GafferImageTest : Fixed import of these modules if the
Gaffer
module had not been imported previously. - ViewportGadget : Fixed selection issues with Intel GPUs (#901, #2788).
- TransformTool : Fixed alignment of green "value changed" icon for
orientation
plugs. - PlugAlgo :
- Updated
canSetValueFromData()
,setValueFromData()
andgetValueAsData()
with support for missing types. - Fixed prom...
- Updated
Gaffer 1.3.16.0
Improvements
- Shuffle : Added the ability to load Shuffles from Gaffer 1.4.
- Instancer : Added support for
Varying
primitive variables whenever they are equivalent to (have the same size as) aVertex
primitive variable.
Fixes
- Encapsulate : Fixed bug which could cause unwanted cancellation when rendering or unencapsulating.
- Unencapsulate : Fixed bug which prevented cancellation of long-running computes.
Gaffer 1.4.0.0b6
Features
- Arnold : Added support for Arnold 7.3. Note that a minimum of 7.3.1.0 is required, meaning that 7.3.0.0 is not supported.
- SelectionTool : Added select mode plug. When set to anything except
Standard
using the SelectionTool causes the actual scene location selected to potentially be modified from the originally selected location. Selection modifiers work identically for deselection. Currently, two selectors are implemented :- USD Kind : When selecting, the first ancestor location with a
usd:kind
attribute matching the chosen list of USD Kind will ultimately be selected. USD's Kind Registry includesAssembly
,Component
,Group
,Model
andSubComponent
by default and can be extended via USD startup scripts. - Shader Assignment : When selecting, the first ancestor location with a renderable and direct (not inherited) shader attribute will ultimately be selected. This can be used to select either surface or displacement shaders.
- USD Kind : When selecting, the first ancestor location with a
- Added MeshTessellate node, for increasing the polycount of subdivision meshes.
Improvements
- EditScope : Added a summary of edits in the NodeEditor, with the ability to select the affected objects and quickly navigate to the processor nodes.
- Arnold : OSL shaders with connections from multiple outputs are no longer duplicated on export to Arnold.
- ArnoldShader : Added parameter tooltips based on
help
metadata provided by Arnold.
Fixes
- Arnold :
- Fixed rendering of shaders imported from HtoA via USD.
- Fixed USD export of shaders to use
outputs:out
instead ofoutputs:DEFAULT_OUTPUT
. - Fixed rendering of
osl
shaders using thecode
parameter.
- GafferTest, GafferImageTest : Fixed import of these modules if the
Gaffer
module had not been imported previously. - SceneAlgo : Fixed potential shutdown crashes caused by the adaptor registry [^1].
- Dispatcher : Fixed shutdown crashes caused by Python slots connected to the dispatch signals [^1].
- Display : Fixed shutdown crashes caused by Python slots connected to
driverCreatedSignal()
andimageReceivedSignal()
[^1]. - LightPositionTool : Fixed crash when changing the tool mode with nothing selected [^1].
- ViewportGadget : Fixed selection issues with Intel GPUs (#901, #2788).
- TransformTool : Fixed alignment of green "value changed" icon for
orientation
plugs.
API
- SelectionTool : Added static
registerSelectMode()
method for registering a Python or C++ function that will modify a selected scene path location. Users can choose which mode is active when selecting. - EditScopeUI : Added an API for customising the EditScope's NodeEditor with summaries for each processor :
- ProcessorWidget provides a base class for custom widgets, and a factory mechanism for registering them against processors.
- SimpleProcessorWidget provides a base class for widgets with a simple summary label and optional action links.
- TractorDispatcher : The
preSpoolSignal()
now provides an additionaltaskData
argument to slots, which maps from Tractor tasks to information about the Gaffer tasks they will execute. - LabelPlugValueWidget : Added optional
labelPlugValueWidget:showValueChangedIndicator
metadata entry. If a plug has this entry set toFalse
, the icon next to the label that indicates the value has changed will not be shown. Defaults toTrue
if the value is not set.
Breaking Changes
- InteractiveRenderTest : Subclasses must now return the shader output plug from creation methods such as
_createConstantShader()
.
Gaffer 1.4.0.0b5
Improvements
- LightPositionTool : The tool is now only visible for members of the
__lights
set, instead of all objects. - Catalogue : Added
imageNames
output plug, containing the names of all images in the Catalogue. Among other things this can be used to drive a Wedge or ContactSheet node and a CatalogueSelect. - Render, InteractiveRender : Added
resolvedRenderer
plug, which outputs the name of the renderer that will be used, taking into account the influence of therender:defaultRenderer
option 1.
Fixes
- PlugAlgo : Updated
canSetValueFromData()
,setValueFromData()
andgetValueAsData()
with support for missing types. - LightPositionTool : Fixed lingering shadow pivot point after placing a shadow pivot, switching to highlight mode and switching back to shadow mode 1.
- Catalogue :
- Fixed undo for image reordering via drag & drop.
- Fixed bugs caused by reordering images using
GraphComponent::reorderChildren()
.
- InteractiveRender : Fixed context used to evaluate scene globals when renderer is set to "Default" 1.
- Instancer : Fixed handling of unindexed primvars in RootPerVertex mode 1.
- ImageGadget :
- Expression :
setExpression()
now respects configs that provide backwards compatibility for old plug names. - Shuffle : Fixed default name for plugs constructed via the legacy
ChannelPlug( out, in )
constructor 1. - ImageReader :
- GUI : Fixed potential crashes during shutdown 1.
- ScriptNode : Fixed execution of multi-line
if :
statements in.gfr
files 1. - ArnoldShader : Fixed startup errors caused by unknown values in
widget
metadata 1.
API
- TypedObjectPlug : Added Python bindings for the default values of the
defaultValue
constructor argument. - Box2fVectorDataPlug : Added new plug type for storing arrays of Box2f.
- Catalogue : Deprecated
image:index
metadata.
Breaking Changes
- StandardLightVisualiser : Added
attributeName
argument tosurfaceTexture()
virtual method.
Build
- OpenEXR : Applied patches from the following pull requests :
Gaffer 1.3.15.0
Improvements
- Render, InteractiveRender : Added
resolvedRenderer
plug, which outputs the name of the renderer that will be used, taking into account the influence of therender:defaultRenderer
option.
Fixes
- InteractiveRender : Fixed context used to evaluate scene globals when renderer is set to "Default".
- Instancer : Fixed handling of unindexed primvars in RootPerVertex mode.
- ArnoldShader : Fixed startup errors caused by unknown values in
widget
metadata.
Gaffer 1.4.0.0b4
Features
- Render, InteractiveRender : Added new nodes capable of rendering to any supported renderer, and using the
render:defaultRenderer
option to determine which to use by default. - StandardOptions : Added
render:defaultRenderer
option, allowing the scene globals to specify which renderer is used by the Render and InteractiveRender nodes. - RenderPassEditor : Added a column for the
render:defaultRenderer
option, allowing each pass to be rendered in a different renderer.
Improvements
- GraphEditor : Removed all renderer-specific Render and InteractiveRender nodes from the node menu. These nodes still exist for backwards compatibility with old scenes, but the generic Render and InteractiveRender nodes should now be used instead.
Fixes
- Windows : Removed "Error(s) running Gaffer" shutdown message. It was misleading when errors originated in the renderer rather than Gaffer itself.
Documentation
- Updated with generic Render and InteractiveRender nodes in place of deprecated renderer-specific nodes.
Breaking Changes
- CyclesOptions : Removed
cycles:integrator:sampling_pattern
option. This is intended only for debugging, but is still available via a CustomOptions node. - CyclesAttributes : Removed the
cycles:dupliGenerated
andcycles:dupliUV
attributes.