Stupid Gaffer Trick

warning

Save your work first. And don’t expand all!

Execute the following via the PythonEditor :

import GafferScene
n = GafferScene.ShaderAssignment()
n["in"]["childNames"].setValue( IECore.InternedStringVectorData( [ 
    "turtles", "all", "the", "way", "down"
] ) )
root.addChild( n )

Then look at the innocent looking ShaderAssignment node in the HierarchyView, and marvel at its recursive uselessness.

Turtles all the way down!

How does this work? Answers on the back of a postcard please…

New Gaffer Examples

EZSurfacing Tools
Barbershop from “Agent 327” by Blender Institute, rebuilt and rendered in Gaffer by Ezequiel Mastrasso.

Let’s face it, there’s only so much you can learn about Gaffer from a ball of cows. Wouldn’t it be great if there were some more comprehensive examples that resembled how you might work in a studio environment? Something with real assets and light rigs, that showed how to build a multi-shot workflow using a single template script? Well, now there is!

Continue reading “New Gaffer Examples”

0.57.0: Edit Scopes introduction

Gaffer 0.57.0.0 introduced Edit Scopes. They are fundamental in our endeavours to make Gaffer more user friendly for everyday tasks. They provide a container for node graph edits made by interactive tools in the UI. In this post, we take a quick look at how they work.

Check out the video above to see them in action then read on for more details.

Continue reading “0.57.0: Edit Scopes introduction”