Skip to content

Use a single display driver for all AOVs in the render delegate #2286

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

Merged
merged 2 commits into from
Apr 28, 2025

Conversation

sebastienblor
Copy link
Collaborator

Changes proposed in this pull request
Instead of creating one display driver (driver_aov) for each AOV, I'm using the "main driver" which is already used for beauty, position, and id.
For that I'm adding 2 array attributes, for the AOV names and the buffer pointers.
In driver_process_bucket, as we iterate over the output results, based on the AOV name we pass the data to the corresponding buffers.
This makes it much more interactive for scenes having imagers and a lot of AOVs

Issues fixed in this pull request
Fixes #2284

@sebastienblor sebastienblor requested a review from cpichard April 24, 2025 11:52
cpichard
cpichard previously approved these changes Apr 28, 2025
@sebastienblor sebastienblor merged commit 566c719 into Autodesk:master Apr 28, 2025
9 checks passed
@sebastienblor sebastienblor deleted the pr/2284 branch April 28, 2025 11:38
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.

Use a single display driver in the render delegate
2 participants