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

Use HdRprim's render tag data for VP2 mesh shared data #1784

Merged

Conversation

dj-mcg
Copy link
Collaborator

@dj-mcg dj-mcg commented Oct 25, 2021

Starting in USD 22.02, Hydra internally manages render tag data for
rprims. This was causing the dirty bit to be cleared prior to calling
sync, causing the render tag data to never get set in _meshSharedData.
Ultimately we could always just use the rprim's GetRenderTag API, but
since MeshViewportCompute is only sent the SharedData strcuture, we'll
set _meshSharedData unconditionally for now.

Starting in USD 22.02, Hydra internally manages render tag data for
rprims. This was causing the dirty bit to be cleared prior to calling
sync, causing the render tag data to never get set in _meshSharedData.
Ultimately we could always just use the rprim's GetRenderTag API, but
since MeshViewportCompute is only sent the SharedData strcuture, we'll
set _meshSharedData unconditionally for now.
@kxl-adsk kxl-adsk merged commit c5f1974 into Autodesk:dev Oct 26, 2021
@dj-mcg dj-mcg deleted the pr/Use_Rprim_Render_Tag_in_VP2_Shared_Data branch October 26, 2021 22:39
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