USDSkel and instancing

   559   1   1
User Avatar
Member
5 posts
Joined: May 2016
Offline
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.
Edited by jan.b - July 27, 2025 03:37:17

Attachments:
image.jpg (52.0 KB)
image-1.jpg (188.3 KB)
image-2.jpg (16.9 KB)

User Avatar
Member
5 posts
Joined: May 2016
Offline
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.
Edited by jan.b - July 27, 2025 07:24:23

Attachments:
Capture2.PNG (66.0 KB)
Capture3.PNG (62.3 KB)
Capture.PNG (146.6 KB)

  • Quick Links