Skip to content

Conversation

@danieldresser-ie
Copy link
Contributor

Here's a naive implementation of moving the output definitions to non-gui configs, so that they can be used from scripts that don't load the gui.

Just a simple cut-and-paste, but seems to be working. The only real question that came up is was the setup of the catalogue port ... I was trying to think whether there is any possible scenario where you want to use a catalogue without the UI. There's probably some theoretical way to use a catalogue non-interactively ( measure the brightness of different parts of the scene using a Catalogue connected to an ImageStats? ), but this feels extremely corner case. A simple cut-and-paste of the Catalogue setup into startup/GafferScene/outputs.py doesn't work because it doesn't get the application variable. So for now, I've just left the Catalogue setup in gui, which seems totally reasonable.

I'm just doing a draft PR for now, since we've decided we're not going to try and push this out in 1.6 anyways. The only thing I'm aware of that needs to be done before merging is that I should do a basic test with RenderMan ( I'll probably need to get that set up next anyways ).

Resolves #6403

@danieldresser-ie
Copy link
Contributor Author

Now tested with RenderMan as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Output Definitions Should Not Rely On GUI Configs

1 participant