This release provides substantial improvements to USD support, an upgrade to Qt 5.12, and builds for both Python 2 and 3.
The current plug values are now omitted when exporting a Box for referencing. See Improvements section for more details.
Serialisation fixes for dynamic TransformPlugs and Transform2DPlugs mean that files saved in Gaffer 0.59 may not load in Gaffer 0.58. This only affects plugs with customised default values.
Unencapsulate : Added new node to expand capsules created by Encapsulate back into regular scene hierarchy. This discards the performance advantages of working with capsules, but is useful for debugging, or when it is necessary to alter a capsule’s contents downstream.
Mesh : Added automatic conversion of USD’s
stprimitive variables to and from Gaffer’s
Curves : Added support for widths, type, wrap and basis.
Points : Added support for widths and ids.
Added support for normals, velocity and acceleration.
Added automatic conversion of USD’s
displayColorprimitive variable to and from Gaffer’s
Camera : Added reading of cameras and the standard cameras set.
Improved interoperability with UsdGeomPointInstancers :
A new “usd:pointInstancers” set is automatically generated on reading, allowing a single Gaffer Instancer/SetFilter to target all point instancers.
Renamed point instancer primitive variables to align with the defaults on the Instancer node.
Improved performance and memory usage when reading scenes using USD’s scenegraph instancing.
Added support for USD’s visibility attribute, converting it to and from Gaffer’s
Added support for USD’s
purposeattribute, converting it to and from a
usd:purposestring attribute in Gaffer.
Added support for USD’s
kindattribute, converting it to and from a
usd:kindstring attribute in Gaffer.
All UsdCollections can now be loaded as Gaffer sets.
Gaffer sets are now written to standard UsdCollections, and not to an unusable default prim.
Substantially improved performance for both reading and writing.
Untyped prims are now loaded as empty locations instead of being ignored.
Improved warning logging.
Improved strategy used for exporting for referencing. Before, the current values of the Box plugs were converted into the default values of the Reference during export. This was error prone as it was too easy to export new defaults after changing values for testing. We now export default values as they are, and omit current values completely. Two new menu items allow the default values to be authored explicitly from the current values at any time.
Added “Reset Default Values” item to NodeEditor tool menu. This sets the default values for all plugs from their current values.
Added “Reset Default Value” item to plug context menu. This sets the default value from the current value.
ImageReader : Added initial support for reading RAW files.
extraAttributesis now a CompoundObjectPlug, allowing it to define complex attribute values including shading networks.
GraphEditor : Improved performance slightly for large graphs.
Warp : Defaulted
useDerivativesto off for nodes created via the UI. Using derivatives is only beneficial when the warp is highly anisotropic, and it has a significant performance impact.
CopyChannels : Improved performance for the special case of a single input.
Catalogue/Viewer : Improved tile throughput for interactive renders.
Performance : Replaced standard memory allocator with jemalloc. Set
GAFFER_JEMALLOC=0to disable this and use the standard allocator.
Merge : Optimized image merging. This has been tackled in several ways, with different levels of impact. Some extreme cases, such as using a multiply to merge two large datawindows with little overlap, now produce much smaller data windows. Other cases can benefit a lot from being able to pass through input tiles unmodified. For cases without a huge shortcut, there is an approximately 20% speedup from lower level optimization.
Checkerboard : Optimized image generation when rotation is 0.
InteractiveRender : Added a warning when attribute edits require geometry to be regenerated, as this can have a performance impact. Examples in Arnold include subdivision changes or changes to attributes inherited by procedurals.
NodeMenu : Removed Loop node. This node can have severe consequences for performance if used inappropriately. Depending on the use case, the Collect nodes and others often provide a more performant alternative. The Loop node can still be created via the scripting API, but we recommend you consider the alternatives and/or request advice before using it.
TransformTool : Improved tool state messaging to include node names and/or paths.
Fixed writing of animated creases and corners.
Fixed writing of animated sphere radius.
Fixed various animation reading bugs.
Fixed handling of interpolation for normals.
Fixed writing of indexed primitive variables to non-indexed USD attributes.
Fixed handling of GeometricInterpretation/Role.
TransformTools : Fixed bug finding existing nodes inside EditScopes.
Viewer : Fixed bug that caused mouse clicks in empty toolbar regions to be ignored.
PlugAlgo/BoxIO : Fixed bug handling nested compound plugs.
Resample : Fixed hash of intermediate
String matching :
Fixed erroneous matches in specific cases involving multiple space-separated patterns and the
Fixed severe performance problem caused by many
*wildcards in space-separated match patterns.
Fixed export and referencing of TransformPlugs with modified default values (#3946).
Fixed export and referencing of CompoundDataPlugs with modified default values (#3907).
Fixed loss of spreadsheet values when using “Duplicate as Box” (#3972).
Fixed export and referencing of SplinePlugs.
Fixed incorrect presentation of referenced CompoundDataPlugs (#4020).
Encapsulate : Fixed incorrect motion blur when deformation blur is turned on for the Capsule itself (#3557).
Spreadsheet : Fixed serialisation of default values which do not match those of the default row.
Checkerboard : Checker colors are now exactly equal to the colorA and colorB parameters. Previously, there were very tiny floating point errors which grew larger as the distance from origin increased.
Transform2DPlug : Fixed serialisation of dynamic plugs, such as plugs promoted to a Box.
SplinePlug : Fixed bug that meant
isSetToDefault()could return true even if it had computed inputs. It now returns false in this case, and never triggers an upstream compute.
updateLayout()virtual method to simplify implementation of container types.
dirty()method for finer grained tracking of changes than
OSLShader : Added
registerCompatibleShader()method to allow connections from non-OSL shaders to be made.
ImageGadget : Added
resetTileUpdateCount()methods. These are useful for measuring performance.
TestRunner : Added
TestCase/TestRunner : The hash cache is now cleared before running each test.
TransformPlug/Transform2DPlug : Added constructor arguments for specifying child plug default values.
Added support for
valuePlugSerialiser:omitParentNodePlugValuescontext variable. This is used for exporting Boxes for referencing, and by ExtensionAlgo.
CompoundObjectPlug : AtomicCompoundDataPlugs are now accepted as inputs.
tiles()now returns a top level dictionary containing all the tileOrigins as a V2iVectorData, and each channel as an ObjectVectorData of channelDatas with corresponding indices. This allows
tiles()to run substantially faster, more than twice as fast if the input network is very cheap.
ConfirmationDialogue : Added optional
detailsconstructor argument which accepts text to be shown in a collapsed “Details” section.
Improved speed of
GAFFER_NODE_DEFINE_TYPEmacros. Subclasses should use these in preference to
Deprecated all namespace-level iterator typedefs for Node and its subclasses. Use the class-level typedefs instead.
Plug : Deprecated all namespace-level iterator typedefs for Plug and its subclasses. Use the class-level typedefs instead.
Moved RendererAlgo bindings into a
GafferScene.RendererAlgosubmodule. The old names are provided for temporary backwards compatibility but are considered deprecated and will be removed in the future.
Added Python binding for
SceneTestCase : Changed base class to ImageTestCase, to provide methods for comparing images.
Capsule : Expiry is no longer detected based on the dirtyCount of the source scene. This removes a debugging tool that could be useful, but allows nodes that create Capsules to have more granular hashing behaviour. If the behaviour of the source scene is captured by a hash that can be used by the capsule, then we can reuse the capsule when that hash matches, and we don’t need to invalidate if the capsule is changed back to a cached value.
displayColorand UsdGeomPointInstancer primitive variables have been renamed.
Removed reading/writing of
Gadget : Added new virtual method and private member variables.
ImageGadget : Removed/moved private member variables.
OpenColorIOTransform : Made
transform()method protected rather than public.
BackgroundMethodTest : Removed public visibility from private
Box : The current plug values are now omitted when exporting for referencing, rather than being transformed into new default values.
Reference : Removed support for boxes exported prior to version 0.9.0.0.
TransformPlug/Transform2DPlug : Added constructor arguments.
ValuePlug : Added virtual method.
ValuePlugSerialiser : Removed support for
NameValuePlugValueWidget : Removed support for using the
Plug.Dynamicflag to determine whether or not the
nameplug is shown. Use
Attributes : Changed type of
extraAttributesplug from AtomicCompoundDataPlug to CompoundObjectPlug.
Light/Camera : Removed button for adding custom plugs in the “Visualisation” section.
Metadata : Removed compatibility for loading graph bookmarks created in versions prior to 0.33.0.0. Resave the file from Gaffer 0.58.0.0 to preserve the bookmarks if necessary.
Objects which don’t support deformation blur are now always sampled at the integer frame time. Previously they were sampled at shutter open time if deformation blur was turned on.
Changed type used to represent sample times from
std::vector<float>, to align with the
Encapsulate : Removed private data member.
Dependencies : Updated to version 2.1.1
See https://github.com/GafferHQ/dependencies/releases/tag/2.1.1 for full details.