Skip to content

Autodesk: Make tracked render tags subtractive to avoid syncing unnecessary rprims #3641

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: dev
Choose a base branch
from

Conversation

erikaharrison-adsk
Copy link
Contributor

Description of Change(s)

HdDirtyList::UpdateRenderTagsAndReprSelectors will always append new render tags that will be rendered to the _trackedRenderTags. If a render tag in _trackedRenderTags is no longer used by the rendering task, it will not be removed from _trackedRenderTags. So once a render tag is added into _trackedRenderTags, in all the following rendering tasks the rprims with this render tag will always be synced, even if the task will not render these rprims.
The correct behaviour should be that this function will replace the old render tags with the new render tags.

Link to proposal (if applicable)

  • N/A

Fixes Issue(s)

  • N/A

Checklist

@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-11023

(This is an automated message. See here for more information.)

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.

3 participants