Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Expose velocities attribute to render delegates #824

Merged

Conversation

marktucker
Copy link
Contributor

This is a greatly simplified replacement for PR #743.

After discussions with the USD team, it was decided that velocities does not need its own dirty bit or dedicated change tracker or value cache functions. Instead, use the pointsDirty bit, and publish it as a regular primvar. Using the pointsDirty bit is reasonable because the velocities attribute, according to USD standards, should be published at the same time samples where the points attribute is published.

through Hydra as a primvar. Use the DirtyPoints dirty bit to track changes
since the velocities attribue must be sampled at the same frequency as
the points attribute.
In HdChangeTracker::IsPrimvarDirty, check the points dirty flag when asking
if the velocities primvar is dirty.

Add comments explaining the way velocities data is published.
@jilliene
Copy link

Filed as internal issue #USD-5210

@pixar-oss pixar-oss merged commit ece2d0d into PixarAnimationStudios:dev May 16, 2019
pixar-oss added a commit that referenced this pull request May 16, 2019
Expose velocities attribute to render delegates

(Internal change: 1960490)
@marktucker marktucker deleted the dev_hydra_velocities_primvar branch May 16, 2019 18:14
AdamFelt pushed a commit to autodesk-forks/USD that referenced this pull request Apr 16, 2024
…lve/adsk/internal-only/feature/pipeline_adsk

Update pipeline in adsk/dev
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants