Skip to content

IECoreScene Camera : Add depthOfField accessors #1475

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

murraystevenson
Copy link
Collaborator

Adding these allow us to address a longstanding todo in Gaffer that will simplify handling of applying depth of field from the globals to a camera.

Adding these allow us to address a longstanding todo in Gaffer that will simplify handling of applying depth of field from the globals to a camera.
@murraystevenson murraystevenson self-assigned this Jul 3, 2025
@murraystevenson murraystevenson marked this pull request as ready for review July 3, 2025 23:05
@johnhaddon
Copy link
Member

After chatting, Murray and I are less sure about this. While we think it makes good sense in the Cortex/Gaffer world, there are open questions about interoperability, particulary with USD. USD doesn't have a boolean property to turn depth of field on and off, so what should we do on export? Clobber the fStop if depth of field is off? And on import, should we turn off depth of field if the fStop is zero? It seems unclear.

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