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 the Usd Asset Preview structure with the wg assets #93

Open
meshula opened this issue Sep 5, 2024 · 2 comments
Open

Use the Usd Asset Preview structure with the wg assets #93

meshula opened this issue Sep 5, 2024 · 2 comments

Comments

@meshula
Copy link
Contributor

meshula commented Sep 5, 2024

Asset Previews in USD are described here:

https://openusd.org/release/wp_asset_previews.html

Fast, scalable browsing of numerous USD assets is a concern that grows in importance as the number of readily available assets grows. On many platforms it will be impractical to load and render all assets in a directory just-in-time to generate preview/thumbnail views, even using background threads and caching. We therefore propose an encoding in USD for specifying pre-generated, lightweight preview assets for USD scenes, that can be recovered from a USD asset with small expense.

We should undertake a few things, in an ordered set of PRs.

  1. Create a "canonical" asset preview that shows how things work, and some best practices.
  2. In the assets submission process, one of the check boxes should be that the asset has a preview structure set up, or an explanation of why a preview isn't useful.
  3. Our automation can generate preview images; it could also set up the asset preview structure if necessary. See
    def link_image_to_subject(subject_stage, image_name):
    for a place already leveraging the preview system.
  4. We should work through the existing assets, adding previews as necessary. Perhaps organized versus a spreadsheet.
@beersandrew
Copy link
Contributor

@meshula for the canonical example, it seems we'd want both cards & thumbnails, right? Also for the canonical example, what's the preferred way to represent this in the repo, I can think of 3 ways:

  1. a new usdz file with an updated usd file + all cards & thumbnail
  2. a new usda file that references the existing repo asset + existing all cards & thumbnail
  3. update the existing asset to reference the existing cards & thumbnails

seems like step 4 implies the third approach, does that make sense to you?

@meshula
Copy link
Contributor Author

meshula commented Sep 6, 2024

One thought: a nice aspect of a usda based sample is that it would easy to read and browse on the web here.

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

No branches or pull requests

2 participants