Smoke Solver in Houdini (Based on Building Fluid Solver From Scrtch in Sidefx / Jeff Lait)
-Post Date : July. 09. 2013
This post is building and using Smoke Solver in Houdini.
If you guys check Building Fluid Solver Tutorial from Sidefx, you can check more detail.
I was really confused each node first time, so I hope it can help someone who try to have first step to build Smoke Solver as me.
Above node is basic connection in Dopnet for Smoke Solver.
Blue : Sop Scalar Field
This is a node to import Density Volume from Sop Level.
Scalar value is single float value, so it can represent as Density, Temperature, Masks etc.
Red : Sop Vector Field
This is a node to import Velocity Volume from Sop Level.
Vector is three float value, it can represent Color, Velocity, Force etc
We import Density and Velocity. So our purpose is connection each values.
Let's imagine we put VELOCITY into DENSITY for MOVING~!
- Gas Advect Field
This is for adjusting Velocity Field value(Vector value what has force value) into Field value(Scalar Value what has amount value).
This is for adjusting Velocity Field value(Vector value what has force value) into Field value(Scalar Value what has amount value).
- SOP Solver
We will import our SOP Level Fluid source in here. Fluid Source is using Density Data.
We connect the source with Dop through Volume Mix. It can import animation data too.
We will import our SOP Level Fluid source in here. Fluid Source is using Density Data.
We connect the source with Dop through Volume Mix. It can import animation data too.
- Gas Buoyancy
We can put some gravity value in here. Velocity field is updating with Buoyancy force(0, -0.1, 0).
Temperature section affects buoyancy force calculation.
We can put some gravity value in here. Velocity field is updating with Buoyancy force(0, -0.1, 0).
Temperature section affects buoyancy force calculation.
- Gas Advect Field
This is for Divergence in volume.
It helps to circulate velocity of Force what you put in. If you don't circulate it with this way, force is stuck in in specific area and makes weird divergence movement in volume.
This is for Divergence in volume.
It helps to circulate velocity of Force what you put in. If you don't circulate it with this way, force is stuck in in specific area and makes weird divergence movement in volume.
- Gas Project Non Divergent Multi Grid
This is for Divergence in Volume area where doesn't have any influence from Force.
It helps circulation in Volume and makes nature movement of Density.
However, It need Gas Advect Field what has velocity value.
This is for Divergence in Volume area where doesn't have any influence from Force.
It helps circulation in Volume and makes nature movement of Density.
However, It need Gas Advect Field what has velocity value.
- Gas Linear combination
This is very good node to mix many value together.
I put force into velocity, so it mix two value.
Velocity was import with noise at first, so it doesn't need to update because we don't update the velocity shape.
But I will update force each frame, so force should have Time step!.
This is very good node to mix many value together.
I put force into velocity, so it mix two value.
Velocity was import with noise at first, so it doesn't need to update because we don't update the velocity shape.
But I will update force each frame, so force should have Time step!.
Monster Fight Smoke WIP