Jump to content

Transfer Attribute to Grains


Mogul4200

Recommended Posts

From what I understand it is a basic bit of coding for a Pop Wrangle that would go in my popnet. I based most of my sim on the file from cg wiki for the grain dancer ( http://www.tokeru.com/cgwiki/index.php?title=File:Grain_dancer_v02.hipnc ). Instead of having the particles fall off based on the frame number, I want them to fall off per particle if they enter an animated volume like a box or sphere. I have been looking for a way to do it with a PopWrangle. I am still researching on my own, but if someone could help me with syntax and speed it would be much appreciated.

Thanks

Link to comment
Share on other sites

just an extra group node.

the wrangle is really just a reuse of the wrangle already there.

vu_Grain_dancer_group.hipnc

 

(the 1st wrangle should be renamed settargetP for ease of reading)

(silly me left the v@targetP=point(1,'targetP',@id); in the 2nd wrangle...you can clear it out)

Release.gif

Edited by Noobini
  • Like 1
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...