transferring attributes from box to particles in new popnet

   4507   3   1
User Avatar
Member
10 posts
Joined: Dec. 2011
Offline
hi, I was following first steps tutorials on sidefx site by Ari Danesh ….
M06 - First Steps - Understanding Attributes & Variables

https://www.sidefx.com/index.php?option=com_content&task=view&id=2186&Itemid=361 [sidefx.com]

He has shown a way how colors from box can be transferred to particles from SOP box and then forces be applied on the particles based on their color. plz check snapshots 01 and 02.

However in H14, new popnet doesn't allow attributeTransfer node. So the question is how to bring attributes from sop to the new popnet… Anyone plz show how to. I am attaching houdini file so Masters of Houdini can quickly sort out this mess.

thanks

Attachments:
l_lamp.hiplc (239.1 KB)
snapshot_01.JPG (77.8 KB)
snapshot_02.JPG (55.4 KB)
howTo_01.JPG (129.1 KB)
howTo_02.JPG (28.0 KB)

User Avatar
Member
818 posts
Joined: Sept. 2013
Offline
Yeah, the setup becomes a bit different now that POP is in DOP. One way is to use a SOP solver to do the attribute transfer while the simulation is being run, and then apply the upward force.

Take a look at the attached hip file.

Attachments:
l_lamp.jpg (46.2 KB)
l_lamp.2.hiplc (263.5 KB)

Andrew / アンドリュー
User Avatar
Member
10 posts
Joined: Dec. 2011
Offline
yes sopsolver is doing the trick.

First the whole node tree was confusing. I was unable to understand how three paths were leading into the same “wire_pops_into_here” thing. Also how the sop solver was acting simultaneously… had to watch some tutorials on new particle system to understand what you achieved.

thanks awong
User Avatar
Member
8551 posts
Joined: July 2007
Online
note that you can connect sopsolver to the same stream as other nodes as if it's another of POP nodes if you like that better
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links