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

Feat: Add UsdTransform2d export support #312

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

hybridherbst
Copy link
Contributor

@hybridherbst hybridherbst commented Jun 3, 2022

Purpose of this PR

This PR adds support for UsdPreviewSurface UsdTransform2d export – allowing to export texture offset/tiling to USD and USDZ.
Spec here: https://graphics.pixar.com/usd/release/spec_usdpreviewsurface.html#transform2d

This also works in QuickLook, but it seems that the order of operations is wrongly implemented there – will do a bug report. It's still useful for scale though.

glTF:
image

usdview:
image

Overall Product Risks

Complexity:
Low

Halo Effect:
Low

Additional information

Note to reviewers:

Currently not implemented for import. Also haven't tested what happens when exporting animated UV offsets, which I think would be outside of the scope of this PR (other samplers also don't fully support animation).

Open questions:

  • where/how/if to add test assets

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.

1 participant