Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arnold Minor Aov Fixes #5645

Merged
merged 2 commits into from
Jan 30, 2024

Conversation

danieldresser-ie
Copy link
Contributor

Couple of little things from discussion on the discord.

Added normal and depth AOVs to the presets list ... do these names seem right, or should they be N and Z?
In the output images, the depth channel is named Z, which is what everyone should expect. The normal channels are named RGB, which I think is also what people expect - I'm not aware of any custom convention for the axis names.

I've also added in an exception if the output name contains a space - this prevents getting a much more confusing error from Arnold. This is turned into a warning upstream ... I wasn't sure whether this is worth halting the render for, but this behaviour just matches how we handle outputs with invalid driver types.

By default Arnold gives a less informative error, either like:
00:00:00   379MB WARNING | [aov] unable to parse output line, found wrong number of tokens
Or even worse, sometimes the parser gets confused and starts parsing things wrong, resulting in:
00:00:00   380MB ERROR   | [aov] output references a non-camera node: someData
( Where the data was declared as "color someData" )
@johnhaddon johnhaddon merged commit 73a69c4 into GafferHQ:1.3_maintenance Jan 30, 2024
4 checks passed
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.

2 participants