Jump to content

smoke from a surface color


ddintz

Recommended Posts

i am trying to have smoke emit from just a painted red($CR) area of an surface.

similar to what you can do in pops.

right now i think i have a convoluted process, in pops i got particles emitting on just the red area, and then i emitting smoke from those points.

is there a better way? i rather not use points if i dont have to.

thanks!

d

Link to comment
Share on other sites

yeah, in pops, i have birth probability at $CR and $CR. Source is set to emission type 'surfaces random' and that works well... justs births on the red, and the intensity of red will determine the amount birth. good technique.

but i'd rather not use pops with the smoke fluids... curious to see if there is something comparable in volume fluids, emit just from the surface $CR.

cheers,

d

How about you delete the non-red points? Or do you want emission to be based on the color's strength as well?

Link to comment
Share on other sites

yeah, in pops, i have birth probability at $CR and $CR. Source is set to emission type 'surfaces random' and that works well... justs births on the red, and the intensity of red will determine the amount birth. good technique.

but i'd rather not use pops with the smoke fluids... curious to see if there is something comparable in volume fluids, emit just from the surface $CR.

If you're using the ApplySource DOP to do the emission, it supports multiplying the emission amount by a point attribute value. See the attached file.

Coincidentally, I just posted a more complicated file that uses that feature here.

emit_density_painted.hip

Link to comment
Share on other sites

Your example doesnt work for me Macha, as the whole thing emits.

Also Johners example doesnt work right for me either, I see what it should do, yet it still emits from the whole object, not just the red painted bit.

I am having a few issues with the install after deleting a shelf, that wont come back. I think I need to reinstall. Will see if that helps, as its been really buggy since i did that.

Edited by Jim M
Link to comment
Share on other sites

Your example doesnt work for me Macha, as the whole thing emits.

Also Johners example doesnt work right for me either, I see what it should do, yet it still emits from the whole object, not just the red painted bit.

I think what you are seeing is a mixture of noise, fluid behavior and emission from points with $CR not exactly 0. If you remove all those factors you can see that there is no emission.

It may be that if you try and render the whole thing with a pyro shader you don't see certain parts that you see in the viewport as there are remappings applied to the smoke density and other fields. I guess this is much simpler in the viewport, although I haven't tried it in this particular example.

post-4013-128218336825_thumb.jpg

Edited by Macha
Link to comment
Share on other sites

I think what you are seeing is a mixture of noise, fluid behavior and emission from points with $CR not exactly 0. If you remove all those factors you can see that there is no emission.

It may be that if you try and render the whole thing with a pyro shader you don't see certain parts that you see in the viewport as there are remappings applied to the smoke density and other fields. I guess this is much simpler in the viewport, although I haven't tried it in this particular example.

I reinstalled and both example work as expected. Ta!

Link to comment
Share on other sites

hi Jim,

in the apply_source > SDF Generation> turn on 'Copy DFS Volume from Source Object'. its not turned on by default.

also, like in my case i am animating the color across, check on 'Use Deforming Geometry' below that.

Your example doesnt work for me Macha, as the whole thing emits.

Also Johners example doesnt work right for me either, I see what it should do, yet it still emits from the whole object, not just the red painted bit.

I am having a few issues with the install after deleting a shelf, that wont come back. I think I need to reinstall. Will see if that helps, as its been really buggy since i did that.

Link to comment
Share on other sites

hi Jim,

in the apply_source > SDF Generation> turn on 'Copy DFS Volume from Source Object'. its not turned on by default.

also, like in my case i am animating the color across, check on 'Use Deforming Geometry' below that.

Thanks m8. It was an install problem.

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