Jump to content

RBD Transform Pieces


coljwood

Recommended Posts

Hi guys,

Playing with some RBD stuff for the first time and having a little trouble using the transform pieces SOP with my setup.

I'm creating geometry from scattered particles, creating a sphere proxy for my collisions and the setup all seems to work fine (although this doesn't mean i've set it up correctly). I'm bringing point transforms back in which also looks good but the transforms don't match when using the transform pieces SOP.

Probably something i'm overlooking (maybe to do with orient attribute on incoming geo) but i'm at a loss as to what at the moment. Name attribute seems to match on both so i'm not sure it's that unless setup incorrectly.

Also, the way i'm copying geometry to points means is by scattering each frame, so my transform pieces only show on their corresponding frame - a workaround for this would be great. I'm thinking a Solver SOP and merging last frame with input geo off the top of my head.

HIP file attached

Thanks!

RBD_Test.hiplc

Link to comment
Share on other sites

Looks like there's a bit of trouble with your setup (unless I'm confused by what you're trying to do). In particular, when you copy the pighead to your pop-points, you're copying the packed geo - so there aren't any primitives; just points being copied onto other points. When you get to the loop, you promote name from points to prims - but there are no primitives. Your loop, consequently, only runs over a single element. The main result is that every instance you spawn into the dynamics network has the same name (you can see that if you look at the fetch_transforms point data). This means transform doesn't know how to match the pieces...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...