Jump to content

Smokesolvers and Age fields


Macha

Recommended Posts

I'm thinking about good ways to make an age field for volume sims. Temperature doesn't work well and nor does heat. I'm hoping to find a way to track age through a smoke or fire sim. One of the ideas I have is by advecting a particle sim and transferring the life attributes back. It would be so great to have age fields. And so useful!

Link to comment
Share on other sites

Hm, good idea Bunker, but doesn't that do the reverse? If I try this, say with a pyroball, then the center of the sim becomes denser. But that is the youngest part, where the smoke emerges. The smoke gets older as it travels, so I would expect the age field to increase there.

Link to comment
Share on other sites

yes it looks like it's the reverse :P (actually complement), but you can do a lot with that, and that's the most accurate and logical way I found - there is only age where there is density. since the age values are normalized, you can use (1-age) anywhere (eg: a gasfield vop). What are you actually doing with the age ? is it for shading purpose ?

Link to comment
Share on other sites

  • 1 month later...

Why not does something along the way a rest field is handled? Without the reinitialization of course. Where density is emitted you get a value of 0, and have the rest of the field be -1. At each timestep you could add a value to it and then advect it by the vel field. I would think using 100% of the vel to advect would give you a pretty accurate age track of the density as it moves. You will probably get some odd things happening where your density does not move entirely outside of emission.

Though I think particles would work as well.

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