Create USDVariants components from loaded payloads
See original GitHub issueUSDVariants are not getting generated when loading in Payloads. Is there any workaround for this, or is this a bug / a missing feature?
As you can see in the example for there generated geom
scope as GameObject, there is no LODVariant getting gerenated.
Example USD:
#usda 1.0
(
defaultPrim = "test_component"
)
def Xform "test_component" (
prepend references = </root_payload>
)
{
}
over "root_payload" (
)
{
asset alembic:high:path = @/path/obj
...
asset alembic:low:path = @/path/obj/low.abc@
...
asset alembic:medium:path = @/path/obj/medium.abc@
...
def Scope "geom" (
prepend variantSets = "LevelOfDetail"
)
{
variantSet "LevelOfDetail" = {
"high" (
payload = @./test_component.payload.usdc@</high>
) {
}
"medium" (
payload = @./test_component.payload.usdc@</medium>
) {
}
"low" (
payload = @./test_component.payload.usdc@</low>
) {
}
}
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Loft Payload Info
In USD a payload is essentially a reference you can choose not to load. Often when working with a very complex scene, you...
Read more >Creating USD Assets with Component Builder | Chris Rydalch
This workshop covers building USD assets in Solaris, using the Component Builder tool-set added in Houdini 19. We'll discuss what USD assets ...
Read more >USD Composer 2023.1.0 Beta Now Available!
Variant Presenter and Editor. A set of tools designed specifically to allow you both generate complex USD variants, but also easily review.
Read more >Pixar's Universal Scene Description for Unity out in Preview
Payloads can be loaded and unloaded using the USD menu, by using the UsdPayload component, or by changing the default policy on the...
Read more >USD UE 5.2 Format Support | Epic Developer Community
Becomes Hierarchical Instanced Static Mesh Components (HISM) on import ... Opening the stage with all payloads on/off (initial load set).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the full repro! The fix is in PR, and should land in dev soon. It won’t be released in the package right away as there are a couple of other PRs in progress but you can cherry pick the change to give it a try. https://github.com/Unity-Technologies/usd-unity-sdk/pull/156
Awesome. Thanks. Really appreciate your fast support!