Gaffer 1.4.0.0 #5795
murraystevenson
started this conversation in
General
Gaffer 1.4.0.0
#5795
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Features
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
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.Improvements
help
metadata provided by Arnold.dl:staticsamplingpattern
).layerName
parameter in output definitions.filter
parameter in output definitions.dl:
anduser:
attributes from shaders.importanceSampleFilter
plug to DelightOptions, providing denoiser-compatible output.oversampling
andshadingSamples
to 3Delight's own default values..nsi
for binary and.nsia
for ASCII.__lights
set, instead of all objects.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.fileValid = False
metadata to images from missing frames, whenmissingFrameMode
isBlack
orHold
.Alt
+C
for toggling both the crop window tool and the relevant crop windowenabled
plug.Gaffer.ValuePlug.setCacheMemoryLimit()
from a startup file to override this.dispatch()
call, with one benchmark showing around a 3x speedup.missingSourceMode
plug to determine behaviour when a source channel doesn't exist.connectedInputs
output plug.depth
plug to assign a manual drawing depth for the rare cases where the automatic depth is unwanted.areaSource
plug, allowing area to be driven by the input display window or data window.useDeepVisibility
plug, which weights samples according to their visibility based on the opacity of samples in front.Fixes
outputs:out
instead ofoutputs:DEFAULT_OUTPUT
.osl
shaders using thecode
parameter.angle
parameter for distant lights, which was previously hidden.Varying
primitive variables on meshes (Pref broken in 3Dl but fine in Arnold #5781).dlStandard
so that they can be connected to the inputs of shaders such asdlLayeredMaterial
.DragDropEvent.sourceWidget
andDragDropEvent.destinationWidget
from Python slots connected to a Gadget's DragDropSignals.skydome_light
and an empty selection.Gaffer
module had not been imported previously.orientation
plugs.canSetValueFromData()
,setValueFromData()
andgetValueAsData()
with support for missing types.Camera.renderSettingOverrides
plug.GraphComponent::reorderChildren()
.setExpression()
now respects configs that provide backwards compatibility for old plug names.image:viewName
.preDispatchSignal()
.Job.statistics()
errors on Windows, ensuring that apid
is always returned when available.userDefault
metadata is now evaluated in the script context, so it can depend on script variables.NaN
values and samples whereZBack
is less thanZ
.API
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.preSpoolSignal()
now provides an additionaltaskData
argument to slots, which maps from Tractor tasks to information about the Gaffer tasks they will execute.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.defaultValue
constructor argument.image:index
metadata.textureLoader()
method.fileName()
method.exportNode()
andexportNodeUI()
functions.ButtonEvent.line
objects passed to mouse event signals such asbuttonPressSignal()
anddragMoveSignal()
CellData::sortValue
member, to provide additional control over sorting in the PathListingWidget.headerData()
method.property()
method.prefix()
andproperty()
accessors.preCloseSignal()
, which allows connected slots to prevent a window from being closed.Job.status()
andJob.statusChangedSignal()
methods.Job.messages()
andJob.messagesChangedSignal()
methods.Job.frameRange()
,Job.environmentCommand()
andJob.startTime()
methods.Job.cpuUsage()
andJob.memoryUsage()
methods.JobPool.addJob()
andJobPool.removeJob()
methods.tractorAPI()
method used for accessing thetractor.api.author
module.tractorAPI()
method which returns a mock API if Tractor is not available. This allows the GafferTractor module to be tested without Tractor being installed.canCallOnUIThread()
function.textSelectable
constructor argument.ignoreMissingSource
argument toshuffle()
.shuffleWithExtraSources()
method.source
anddestination
plugs can now be customised using standardplugValueWidget:type
metadata.assertImageEqual
function, maxDifference may now be a tuple, to specify an asymmetric range.Settings
class, which should be used to store settings for subclasses. See LightEditor and ImageInspector for examples.setValue( V3f() )
overload.Documentation
Breaking Changes
.nsi
file extension from ASCII to binary (.nsia
is used for ASCII now)._createConstantShader()
.attributeName
argument tosurfaceTexture()
virtual method.cycles:dupliGenerated
andcycles:dupliUV
attributes.hairShape
default value to "ribbon", to match Cycles' and Blender's own defaults.useFrameAsSeed
plug. The frame is now automatically used as the seed ifseed
is not set.cryptomatteAccurate
. This feature is no longer present in Cycles.cycles:integrator:sampling_pattern
option. This is intended only for debugging, but is still available via a CustomOptions node.Pointer( const ImagePrimitive * )
constructor.image()
method.render:includedPurposes
default to"default", "render"
.depth
plug to override the order if necessary.getObjectValue()
overload.cache
plug.Task
constructor no longer takes a copy of the context, so the context must not be modified after being passed.Task( taskNode, context )
constructor. UseTask( taskNode["task"], context )
instead.createMatching()
method.frames()
andpreTasks()
.TaskBatch
constructors private.preDispatchSignal()
.nodes
arguments from dispatch signals. Use thedispatcher["tasks"]
plug instead.script
andcontext
arguments fromframeRange()
method. The current frame and full frame range are now queried from the current context.appendMenuDefinitions()
,appendNodeContextMenuDefinitions()
,executeSelected()
andrepeatPrevious()
functions.DispatcherWindow
class.JobPool.jobFailedSignal()
.JobPool.failedJobs()
method. Failed jobs now remain in place in the mainjobs()
container.Job.failed()
andJob.killed()
methods. UseJob.status()
instead.Job.execute()
method. This should not have been public.Job.messageHandler()
method. UseJob.messages()
instead.Job.description()
method.Job.statistics()
method. UseJob.memoryUsage()
andJob.cpuUsage()
instead.appendMenuDefinitions()
function.handleException()
method.precomputedHash
argument fromgetValue()
method.configEnabledPlug()
,configValuePlug()
,workingSpaceEnabledPlug()
andworkingSpaceValuePlug()
methods. Use the OptionalValuePlug child accessors instead./debugexe
switch used whenGAFFER_DEBUG
is enabled, making it possible to use debuggers other than Visual Studio. Debug switches can be added to theGAFFER_DEBUGGER
environment variable instead.IECore.Enum
types with standard Python types from theenum
module.Gaffer.ShufflePlug
instead.channels
plug toshuffles
plug, matching nodes such as ShuffleAttributes and ShufflePrimitiveVariables.nodeMenuCreateCommand()
.postCreate()
.out
plug for all types (surface
,displacement
etc), not justshader
.oversampling
andshadingSamples
plugs.out
plug.out
plug are no longer serialised.Build
This discussion was created from the release Gaffer 1.4.0.0.
Beta Was this translation helpful? Give feedback.
All reactions