Jump to content

Dopfield Expression With Rbdfractured Object


Martin

Recommended Posts

Hi

my expression brain seems to be too small to figure that out myself but I'm sure thats really easy to do... need your help please...

I used the dopnumrecords and the dopfield expression to get impact data from DOPs to POPs as shown in the Gnomon Dynamics DVD.

basically I copy a point to every impact

copy sop

dopnumrecords("/obj/dopnet1","obj0","Impacts","Impacts")

and transform the points with a

point sop

dopfield("/obj/dopnet1","obj0","Impacts","Impacts",$PT,"positionx")

and use that as an emitter for particles.

Works great but instead of just having one object (obj0) I'd like to do that for obj0/obj1/... - all generated from one rbdfractured_object.

I tried wildcards but that wouldnt work as the dopfield expression uses the pointnumber to transform the points. I think I need to loop through all the objects - I know the FrenchOP tutorials but this delete/copy concept didnt really work for me in this case...

I'm sure thats an easy one for the smart Houdini community.

Please help. Thanks in advance.

Martin

Attached the file in case its not clear what I'm doing....

pop_dop_impact_data.hip

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...