Search - User list
Full Version: USDSkel and instancing
Root » Solaris and Karma » USDSkel and instancing
jan.b
Hello I have the following setup i want to make :

I have a rig that drives a tree hierarchy.
Some bones have more than one point so those parts are deformable.
Other parts are meant to be instanced geometry and driven only by one point with rotations.

I got to the point i'm able to instance on the skeleton that is imported with lop character import.
But the trouble is that i'm unable to bring back attributes from primvars or else in lop import to tell the point instancer which mesh goes where.

I made a setup which is not on the pictures where an index is stored on the geo with dummy boxes.
I can see those primvars in solaris but they don't show up in lop import.

Similar setups are for RDB sims but in that case path and name are more or less the same and can exploited to instance. In my case a few meshes are reused across different points.

Also i would like the setup to not rely on sop, be self contained in a .usd file and be shared that way.
Thank you.
jan.b
So this is how i solved that for now, i don't know if there's a better solution?

Afaik the problem is the agent creation strip out all custom attributes.

So tried to inject the instance indices with a third lop input which is a copytopoints from sop.

After that the layered usd seem to keep those attributes (last one layered set the primvars indexinst)

I think those primvars pass the attributes when i unpack them in sop but i'm not sure.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB