Jump to content

static gas turbulence?


nicoladanese

Recommended Posts

Hey!

I'm trying to get a very low freq turbulence in my smoke trail sim, but even if I put pulse length to a very high number, 10000, the turbulence keeps moving with time, while I want some sort of static turbulence to break my trail line..any idea?

cheers

Link to comment
Share on other sites

Here is something that might help. Create a temperature field (or create a scalar field). Make it so the temperature field (or scalar field) dissipates.  Set the temperature field (or scalar field) to be the control field of the turbulence. Set control influence to 1. If you are using temperature make sure to turn off buoyancy. After the temperature or your scalar field dissipates the turbulence will stop. That way there will always be more turbulence near the source and it will fade off.

Edited by ejr32123
Link to comment
Share on other sites

Hey Evan!

thanks for your reply, but I'm not sure I explained myself correctly, I'm looking into a way of keeping the velocity vectors of the turbulence static, at the moment they move, the help says to increase the pulse length but they still move, slowly but still moving...

Link to comment
Share on other sites

okay so looks like I found a solution, I had to activate open cl, then dive inside the gas turbulence and looking at the code in the compute_turbulence_cl time was just multiplied as it is, in fact no further math is applied to consider the pulse length...so manually changing time to 0 did the trick of having a static turbulence...not sure if it's a bug, will flag that to sidefx

Link to comment
Share on other sites

I have noticed that some of the OpenCL code is hard coded at 30 FPS which can create beat patterns against the default 24 FPS.

One thing you might want to consider is custom drag.

Check out Fencer's setup.

 

Edited by Atom
Link to comment
Share on other sites

Hey Atom, thanks!

I opened a ticket and sidefx asked for a scene to investigate...will update here asap

here the issue is double I'm afraid, in the CL code time is just as it is, with no reference to a multiplier, but at least I could modify it to suit my need, without openCL I did not find a way to make it work... 

Link to comment
Share on other sites

If all you want is a static noise field for the pyro to swim through, you can just use a curl noise in a gas field vop. If you want, you can just copy and paste the one inside the Gas Turbulence microsolver inside "compute_turbulence".

Inside the gas turb, it uses a vec4, with the fourth component after the position vector being time. So it doesn't matter if the pulse duration is off, it's still moving through time by default, because pulse duration is connected just to the offset parameter. You can unhook this and just use pos (vec3) to drive the position of the noise and run your pyro through it. 

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