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 #5755

Closed
wants to merge 7 commits into from
Closed

Support Arnold 7.3 #5755

wants to merge 7 commits into from

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).

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.
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 self-assigned this Mar 28, 2024
@johnhaddon
Copy link
Member Author

Closing this in favour of one with the right permissions to run Arnold CI - stay tuned.

@johnhaddon johnhaddon closed this Mar 28, 2024
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.

1 participant