Hi everyone,
could anyone give me an example or tip on how to slow down or stoppen a volume dringend sim time st a sprcific Spot?
Tanks!
Slow down volume at specific area
526 3 0- D4uerrenner
- Member
- 21 posts
- Joined: 11月 2022
- Online
- Enivob
- Member
- 2568 posts
- Joined: 6月 2008
- Offline
Check out applying drag based upon distance.
https://forums.odforce.net/topic/32865-pyro-smoke-localised-drag/#comment-180541 [forums.odforce.net]
https://forums.odforce.net/topic/32865-pyro-smoke-localised-drag/#comment-180541 [forums.odforce.net]
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
- D4uerrenner
- Member
- 21 posts
- Joined: 11月 2022
- Online
How would you do it with a complex shape and not a Single point?
int pnts = nearpoints(0, @P, 1);
foreach(int pnt; pnts){
float dis = distance(pnt, @P);
@vel *= fit(dis, 0, 2, 1, 0);
}
this gets rather slow with a few more points. Do you know a way to import a sop mask field into he sop pyro solver and use it for the damping force node?
int pnts = nearpoints(0, @P, 1);
foreach(int pnt; pnts){
float dis = distance(pnt, @P);
@vel *= fit(dis, 0, 2, 1, 0);
}
this gets rather slow with a few more points. Do you know a way to import a sop mask field into he sop pyro solver and use it for the damping force node?
Edited by D4uerrenner - 2024年1月12日 12:34:24
- D4uerrenner
- Member
- 21 posts
- Joined: 11月 2022
- Online
-
- Quick Links