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

Support Arnold 7.3 #5757

Merged
merged 8 commits into from
Apr 3, 2024
Merged

Support Arnold 7.3 #5757

merged 8 commits into from
Apr 3, 2024

Conversation

johnhaddon
Copy link
Member

This makes the minor adjustments necessary for supporting Arnold 7.3.

There's a small bit of awkwardness here in that the AI_NODE_DRIVER -> AI_NODE_IMAGER transition happened in 7.3.1.0 and not in 7.3.0.0, despite them both being released on the same day. So code compiled with 7.3.1.0 will fail to recognise imagers in 7.3.0.0 (and vice versa). Rather than contort things further to deal with this or provide builds for minor versions (which are not generally needed, i checked), I've just documented that we don't support 7.3.0.0. HtoA and KtoA are apparently skipping 7.3.0.0 as well - the only reason it exists is because Arnold is the built-in renderer for Max/Maya, and a version needed to be locked down earlier for QA reasons (as far as I understand it anyway).

@johnhaddon johnhaddon self-assigned this Mar 28, 2024
@johnhaddon johnhaddon force-pushed the arnold73 branch 3 times, most recently from b47ab1d to 1c23baf Compare April 2, 2024 09:33
@danieldresser-ie
Copy link
Contributor

LGTM

I can't see any reason we were trying to construct FloatData from the return value of `AiNodeSetStr()` - it just seems like a typo. That function now returns `None` so the `FloatData` construction fails.
This is just a case of accounting for a new `color_manager_ocio.ignore_environment_variable` attribute.
The test images were so noisy that differences in noise patterns in Arnold 7.3 caused the tests to fail. Upping samples means that we have a much cleaner image, and boosting exposure means that the allowed delta is now much smaller compared to the expected value.
These seem to have appeared somewhere in the `7.2.x` series.
This is awkward, because the AI_NODE_IMAGER type is only introduced in 7.3.1.0, and _not_ 7.3.0.0 where you might expect a source/ABI break. So while this code will now compile/run with either 7.3.0.0 or 7.3.1.0, we can't compile with one version and use the other.
This is now provided by the Arnold core in Arnold 7.3, rather than being duplicated in each of the official DCC plugins (and not existing at all in poor old Gaffer).
@johnhaddon johnhaddon merged commit b938d6a into main Apr 3, 2024
1 of 5 checks passed
@johnhaddon johnhaddon deleted the arnold73 branch April 16, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants