Jump to content

Recreating Gas Particle to Field?


ivr

Recommended Posts

Hello, everyone!

I have some particle attributes I'd like to interpolate on some fields. At first I had a SOP solver with an Attribute Wrangle where I modified the particle attributes and then copied my results to the volume (@density=result). When I middle mouse clicked on the nodes inside the DOP net, the volume was not listed as information inside, as it was when using Gas Particle to Field. 

Therefore, I thought I could use the Houdini Gas Particle to Field to somehow create the fields and then use my Attribute Wrangles to write over the values set initially by the Gas node. But I am afraid my Attribute Wrangles are not affecting the volumes at all, as the volume created by them was not listed initially. 

Are my Attribute Wrangles going to write over the volume values? Or is there a way for me to recreate a Gas Particle to Field in VEX?

Link to comment
Share on other sites

Attribute Wrangle SOP doesn't modify volumes at all

you can use Volume Wrangle SOP or Volume From Attribute SOP or Volume Rasterize Points/Particles SOP, they all need the volume to exist and will not create one

Or you can use Volume Rasterize Attributes SOP and that will create and populate the volumes based on point attributes

Link to comment
Share on other sites

Yes or any node that modifies fields/volumes for that matter

If you modify or create any field in DOPs, run Sop Solver DOP on that field, you can continue modifying it in SOPs using Volume Wrangle or any other node that acts on volumes or even VDBs, or completely replace it with another volume, it just depends on what you output from the Sop Solver

Edited by anim
  • Like 1
Link to comment
Share on other sites

whats  hard to recreate is its speed, gasparticletofield dop is  really fast compare to  sopsolver sourcing. even if you try sourcing  with gasfieldvop its a tough competition..
so unless you really need a something special i suggest stick with it.

Edited by willow wafflebeard
Link to comment
Share on other sites

It all depends on what you need it for, if you want to use it for sourcing then just use native sourcing which since H17 is based on particles and Volume Rasterize Attributes in SOPs, but in more broader sense you can experiment with anything

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