Xayah Kasumi
ycxiang14sep
About Me
Connect
LOCATION
Not Specified
ウェブサイト
Houdini Engine
Availability
Not Specified
Recent Forum Posts
Opposite advect direction in HDK and GAS_Advect_Field 2024年5月20日22:49
Hi community.
I'm using Houdini HDK, and trying to write my own advect node like below.
However, when I set the velocity field to constant (0, -9.8, 0), the actual moving direction of smoke is upwards... When I use GAS_Advect node and GAS_Advect_Field node, the moving direction of smoke is downward, which is correct behavior.
So, I want to know why `SIM_ScalarField::advect()` didn't give the right result?
Looking forward to any help
I'm using Houdini HDK, and trying to write my own advect node like below.
density->advect(velocity, timestep, nullptr, SIM_ADVECT_MIDPOINT, 1.0f);
However, when I set the velocity field to constant (0, -9.8, 0), the actual moving direction of smoke is upwards... When I use GAS_Advect node and GAS_Advect_Field node, the moving direction of smoke is downward, which is correct behavior.
So, I want to know why `SIM_ScalarField::advect()` didn't give the right result?
Looking forward to any help
![](/static/djangobb_forum/img/smilies/smile.png)