gaffer-examples

Gaffer Production Examples

View the Project on GitHub

Gaffer Examples.

Last Updated: 15/09/2020 ***Note: UVs/Surfacing/Lighting is in WIP***

Setup
Templates
    Assets Template
    Shots Template
        Barbershop
        Clasroom
Contribute! Help wanted
licences

Requires Gaffer 0.58.1.0

All tools presented here are based solely on examples shared on the Gaffer community mailing list

Setup

Before you start

Unzip the barbershop alembic file /barbershop/abc/babershop_interior.abc.tar.7z.
Alternatively you can run expand-assets.sh to unzip it using file-roller.

Enviroment Variables

source gaffer-examples.sh before running gaffer.
Alternatively set those environments in your system manually.

Dependencies

LDTGaffer is required for this examples.
If you would rather have the LDTGaffer repo in a different location:
Comment the line “source LDTGaffer/LDTGaffer.sh”, and source both .sh from the repositories before running gaffer.

Gaffer Version

Requires 0.58.1.0 or above.

Templates

Note on GPU render: Ai User Data String and Trace Sets are not supported
in GPU render.
Shots Template: Turn the barbershop Reference Node gpu_uncompat_nodes Off.
Asset Template: Prune the Shader balls reference.

Assets Template

EZSurfacing Tools

Asset Template, with lightrigs Render, metadata overlay and ContactSheet.

Shots Template

EZSurfacing Tools

Shot level Box nodes containing overrides, with rendered icons

Template Outputs

Note: UVs/Surfacing/Lighting is in WIP. No compositing, beauty pass only.

Barbershop

Sequence 1 & 2

EZSurfacing Tools EZSurfacing ToolsEZSurfacing Tools EZSurfacing Tools EZSurfacing Tools EZSurfacing Tools

Clasroom

Sequence 3 & 4

EZSurfacing Tools EZSurfacing Tools EZSurfacing Tools EZSurfacing Tools EZSurfacing Tools

Licences

Different parts of this repository, are given with different licences.
You can find the plaintext legalcode licence files under each folder where applicable.

Clasroom

Blender Classroom By Christophe Seux.
Terms of Use: This work is licenced under CC0

Barbershop

Blender Barbershop from “Agent 327” by Blender Institute
Terms of Use: This work is licenced under CC-BY-ND.

Change list:

PBR Textures
cc0textures

PBR textures by www.cc0textures.com
Terms of Use: This work is licenced under CC0

3dtextures me

PBR textures by https://3dtextures.me/
Terms of Use: This work is licenced under CC0

HDRIs
Pixar Renderman Stinson Beach

Stinson Beach HDRI files by Loren Carpenter from piper-look-dev
Terms of Use: This work is licenced under CC BY-NC-SA

hdrihaven

HDR under /resources/hdri/hdrihaven by www.hdrihaven.com
Terms of Use: This work is licenced under CC0

zbyg

HDR under /resources/hdri/zbyg by zbyg
Terms of Use: This work is licenced under CC BY

Icons

String lights icon by supalerk laipawat from the Noun Project
Set Lights by Lluisa Iborra from the Noun Project
Camera aperture tool by Vectors Point from the Noun Project
Videocamera by Vichanon Chaimsuk from the Noun Project
Rotation by Andrejs Kirma from the Noun Project
Setting by ghufronagustian from the Noun Project
Gear by Gan Khoon Lay from the Noun Project
Fork by useiconic dot com from the Noun Project
Layers by Creative Stall from the Noun Project
Layers by Bernar Novalyi from the Noun Project
Tag by Marta Ambrosetti from the Noun Project
Settings by Fahmi Ramdani from the Noun Project
Tools by Vectors Point from the Noun Project
Start by Larea from the Noun Project
Restore by Phoenix group from the Noun Project

About CC0, CC-BY, CC-BY-ND and CC BY-NC-SA

CC0 Universal Public Domain Dedication
CC BY
CC BY-ND
CC BY-NC-SA

Contribute

Help needed!

Do you feel like:

How to Contribute

Before you start, contact us and let us know what you want to work on.
Certain things -such as asset surfacing, and lighting updates- will need to be handled case by case, to ensure a smooth conflict-free update in the main files.

Fork, clone, branch, work, push, pull request as usual.

Style guide

Examples style guide

Extra styling
Styling Exceptions

Where nodes are Shots or Sequence based, for better readability we prefix these nodes with SEQ0001 for exampe SEQ0001_RenderQuality or SEQ0001_SHO0002

Icons

Icons are placed in /resources/icons. To set a Node’s icon, open the Node’s EditUI window and set the Node icon as /assets/resources/icons/iconName.png

IconScale

You can set the Node’s iconScale using the code snippet below.
The values used in the templates are 3.0, 5.0 or 7.0, depending on the node importance. Only Box Nodes are scaled.

import Gaffer
node = root['LDTTurnTable']
Gaffer.Metadata.registerValue (node, 'iconScale', 7.0)

Licences: