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

Indexed AbcGeomArb are not imported/created #28

Open
BSalem opened this issue Oct 2, 2021 · 0 comments
Open

Indexed AbcGeomArb are not imported/created #28

BSalem opened this issue Oct 2, 2021 · 0 comments

Comments

@BSalem
Copy link

BSalem commented Oct 2, 2021

if an alembic has indexed GeomArbitrary variable like colorSet for example has been loaded using UsdIn, the indexed variable won't be created in katana, the issue behind this is that UsdGeomPrimvarsAPI::GetPrimvars() won't return the primvar because in case of such indexed variables, the primvar name is formed incorrectly:
it will be primvars:colorSet:vals, primvars:colorSet:indices other than primvars:colorSet and primvars:colorSet:indices

due to the above difference, UsdGeomPrimvarsAPI::GetPrimvars() doesn't respect/recognize the colorSet as primvar, so it's not returned, and accordingly, not created in katana (since usdAbc calls this function to convert all geomArb to primvars)

I fixed this issue in the following USD PR, but not able to do pull request on Fonudry USD, as well as that I'm not able to even test it because KatanaUsd Plugin fails to compile with -DUSD_ROOT other than the foundry's patched one:

PixarAnimationStudios/OpenUSD#1635

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

1 participant