Drive particle scale with temperature attribute.

   3216   3   2
User Avatar
Member
2 posts
Joined: Aug. 2015
Offline
I'm new to Houdini and am pulling out my hair trying to figure out how to do what is probably quite simple.

I've got a pyro sim which I am using to advect particles in a POPNET. I am then attaching sphere geometry to the particles with a copy node.
What I'm trying to do is scale the geometry based on the temperature attribute of my pyro sim (so that my spheres get bigger as the temperature gets hotter). I'm assuming I should be using the AttribFromVolume node, but for the life of me I cannot get it to work!

Unfortunately all the example files and tutorials I've found don't quite address how to do this. Does anyone have any advice on how to get this to work?
User Avatar
Member
99 posts
Joined: July 2007
Offline
Hi, Jonty,

you have to rename your temperature to pscale in order to drive the size of your spheres.


usually posting a hip file helps a lot

Attachments:
temp_to_pscale.hip (1.5 MB)

User Avatar
Member
2 posts
Joined: Aug. 2015
Offline
Ah! Thank you so much!

This is exactly what I was trying to do. You have saved me so much frustration. I really appreciate it.
User Avatar
Member
99 posts
Joined: July 2007
Offline
No problem, glad it helped
  • Quick Links