Skip to content
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

Change Usd_Clip to hold a shared pointer to the array of time mappings #1777

Conversation

marktucker
Copy link
Contributor

Description of Change(s)

Change Usd_Clip to hold a shared pointer to the array of time mappings.
Set up this array in Usd_ClipSet where all the Usd_Clip objects are
allocated. Prevents N^2 memory usage on the number of time mappings in
a clip set.

Fixes Issue(s)

  • [ X ] I have submitted a signed Contributor License Agreement

Set up this array in Usd_ClipSet where all the Usd_Clip objects are
allocated. Prevents N^2 memory usage on the number of time mappings in
a clip set.
@jilliene
Copy link

Filed as internal issue #USD-7226

@pberto
Copy link

pberto commented Jun 8, 2022

@marktucker nice improvement here.

Since you brought this up, how are you dealing with the other issues with memory limitation and clips? I mean when you actually do have a lot of data for each frame, and not just a box, it is possible to incur in going out of memory when usdStitchClip will go through all the data. At the present state the only solution that I could find was to make a clip with few frames and then edit (by scripting or even by hand) the timecodes in the clip file and in the topology file.

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.

4 participants