Gas Particles to Field

   1259   6   0
User Avatar
Member
67 posts
Joined: Jan. 2019
Offline
Hi, I'm trying to understand the "gas particle to field" node in dops, with the ultimate goal of creating something similar to this:
https://vimeo.com/244246258 [vimeo.com]
In the comments, he says, "I am emitting a blast of particle on 1 frame, and add their velocity to my smoke with the Gas Particle to field.".

So I though, cool, I'll start with transferring color and then move to transferring velocity (once I have a handle on Cd). Problem is, I can't even get the color to transfer properly.

I checked out the example file in the help docs for gasparticletofield node...but it not using a sim, so a bit confusing. I also, checked out @mestela file on CGwiki, but still stuck.

If anyone can give me some pointers, that would be great.

.hip attached for reference

Thanks
Edited by TheDude123 - Aug. 27, 2023 12:38:48

Attachments:
GasParticletoFiled.hip (953.6 KB)

User Avatar
Member
4531 posts
Joined: Feb. 2012
Offline
Hi,

That's because you don't have a Cd volume. So you have to create that first in SOPs or DOPs, and use that field to color the smoke field using Volume Visualization SOP for example:

Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
User Avatar
Member
67 posts
Joined: Jan. 2019
Offline
Hi animatrix,

Thanks, that did the trick!
User Avatar
Member
122 posts
Joined: Aug. 2017
Online

Attachments:
gasparticletofieldgh.hiplc (1014.6 KB)

Conservation of Momentum
User Avatar
Member
67 posts
Joined: Jan. 2019
Offline
cncverkstad
Oh! Nice, cncverkstad. Thanks for that! Just showing off now.
I was actually trying to figure out the shock wave parts. It looks like he shot particles towards the center of the scene, then after a few frames...maybe shot particles outwards from center...twice (then transferred the v of the particles onto the pyro)?
The ripple through the smoke is really throwing me off.
Thanks again for the scene file!
User Avatar
Member
122 posts
Joined: Aug. 2017
Online
Just transfer Polyframe tangent name and use on velocity . like
v@tangentu *= 0.6;
v@tangentu *= -0.6;
use switch to animate different and in enable solver dop use something like
$F<10 || ($F>45 && $F<53) || ($F>90 && $F<98)

Attachments:
ghff.gif (1.3 MB)

Conservation of Momentum
User Avatar
Member
67 posts
Joined: Jan. 2019
Offline
Ahhhh, I see. Thanks so much!
  • Quick Links