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

Nested VariantSet #94

Open
2 of 3 tasks
syoyo opened this issue Oct 2, 2023 · 0 comments
Open
2 of 3 tasks

Nested VariantSet #94

syoyo opened this issue Oct 2, 2023 · 0 comments
Labels
bug Something isn't working dependencies Pull requests that update a dependency file middle priority

Comments

@syoyo
Copy link
Collaborator

syoyo commented Oct 2, 2023

TinyUSDZ's ASCII and USDC parser fails to support nested VariantSet stmt.

def Xform "Implicits" (
    append variantSets = "shapeVariant"
)
{
    variantSet "shapeVariant" = {
        "Capsule" ( variantSets = "geo" ) {
            def Capsule "Pill"
            {
            }

            variantSet "geo" = {
                "CapsuleA" {
                    def Capsule "PillA"
                    {
                    }

                }
            }
        }

    }
}

Support of nested VariantSet is working on this branch: https://github.com/syoyo/tinyusdz/tree/nested-variantset

Status

  • Initial support of parsing nested VariantSet in USDA parser
  • Support printing nested VariantSet in USDA writer
  • Support parsing nested VariantSet in USDC reader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file middle priority
Projects
None yet
Development

No branches or pull requests

1 participant