Jump to content

Smoke Path Follow Enhansed


Pazuzu

Recommended Posts

Hi!!

For the resize thing, i first calculate the min and max values for the density field to calculate a perfect shell to scatter points for the gas resize dop, also transfer to those points the velocity field as N attribute to then peak those points in the velocity direction (rought velocity extrapolation), then merge the peak points with the shell density scatter points.

For the custom velocities, i used the tangent of the path and the gradient of the sdf path to equalize an atraction and a travel velocity along the path; The most important thing is the correct sum of those custom velocities with the next step velocity; I first normalize both vectors and then multiply it with the average of their magnitudes.

For the dissipation and preservation of the advected density, i analize the velocity to threshold based on his magnitude to find the lower and higher advection speed to dissipate and preserve the advected density.

Edited by Pazuzu
Link to comment
Share on other sites

  • 1 month later...

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