Skip to content

Conversation

@jjeziorski
Copy link
Contributor

Fix the translation of focus distance and simplify the handling of camera lens and aperture parameters. Enhance the retrieval of camera attributes by searching for requested parameters directly.

Value for focus distance was incorrectly assumed in inches, which is not consistent with docs

I'm not sure where logic for computing lens focal and aperture came from, but it was expensive,
units were way off and gave wrong values for depth of field calculations. With proposed changes values are consistent with values exported by maya-usd.

I've also added proposed change to support custom attributes by checking camera plugs.

@jjeziorski jjeziorski force-pushed the fix_cameraAdapter_translation branch from 59258e8 to b60d6ba Compare July 29, 2025 08:49
@jjeziorski jjeziorski force-pushed the fix_cameraAdapter_translation branch from b60d6ba to 9d55a9c Compare July 29, 2025 11:08
@lilike-adsk
Copy link
Collaborator

@jjeziorski have you had a chance to try the change with custom attributes support?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants