Autodesk / Autodesk/maya-usd

Usd is doesn't take into account FPS and always reads it in 24 fps

Open
#4,121 3 comments 0 reactions 1 assignee Assigned to @santosd View on GitHub
bug
Dominant language
Wolfram Language
Stars
905
Forks
223
Avg merge
2d 5h
Merged PRs (30d)
16

Description

**Describe the bug**
Working in 25 fps and exporting a USD correctly sets the timeCodesPerSecond and framesPerSecond metadata to 25 to the usd file. However, when loading it back in maya in the same scene, the animation of the usd is offseted as if it was in 24 fps.

**Steps to reproduce**
1- For easier visualization, create a ball and animate it from frame 1001 to 1010 with the timeline in 25fps.
2- Export to usd, the metadata is set correctly
3- Usd Load the exported file, notice that the animation starts now in 960, 40 frames earlier, which corresponds to 1 frame per second of 1000 frames at 25 fps (1000/25: 40)

**Expected behavior**
For the animation to be read in the proper timecode

**Specs (if applicable):**
- Maya version : Maya 2024.2
- MayaUSD : 0.30.0

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.