Autodesk / Autodesk/maya-usd

Camera usd export does not write shutter values

Open
#3,429 2 comments 0 reactions 1 assignee Claimed by @santosg87 View on GitHub
enhancement
Dominant language
Wolfram Language
Stars
905
Forks
223
Avg merge
2d 9h
Merged PRs (30d)
17

Description

**Describe the bug**
Exporting a camera as USD does not write the usd attributes "shutter:open" and "shutter:close". However it does seem like something is happening to them as I cannot write them with the json attribute convention either. I can use the json convention to read the attribute and write it out with a different name though. The maya attributes that would be required for these values would be either shutterAngle or aiShutterStart and aiShutterEnd.
Global settings and any modifications to the parameters seem to have no effect

**Steps to reproduce**
Steps to reproduce the behavior:
1. Create a camera via Create>Cameras>Camera
2. Select the camera
3. Click File>Export Selection ... give it a filepath
4. use usdview to inspect the camera ... no shutter values written

**Expected behavior**
1 of 2 things should happen:
1) Shutter angle (viisble in the special effects section of the camera attributes) should get converted to shutter open and shutter close
2) aiShutterStart and aiShutterEnd should be written to shutter:open and shutter:close

**Attachments**
Attached you can find a source maya file as well as a usd file created with it
[camera_files.zip](https://github.com/Autodesk/maya-usd/files/13237115/camera_files.zip)

**Specs (if applicable):**
- OS & version: Rocky Linux 8
- Plug-in version: 0.24.0
- Maya version 2023.3
- Maya USD commit SHA n/A
- Pixar USD commit SHA n/A

**Additional context**
Apologies if this issue has already been fixed. I do not have the liberty to update freely as I am working in a studio environment. If that is the case, please let me know

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.