Jump to content

Burnt Mask


Recommended Posts

Hi guys.

I trying  to build an burnt mask by sampling the value of the volume when it touches the ceiling.

ive achieved the value of the flames and fit it to 1 to 0.

the issue is, the value  dont "hold" the value of 1 of the last frame, the ideia its to maintain the value of 1.0 like an burned areas.

ive used an sop solver to maintain the value of one ofthe previous frame but it keeping to update the value. maybe i'm missing something, please help me.

 values.thumb.JPG.c1e444c61cd47e597a53e9757fdce3d8.JPG

 

burnt_mask_v00.hip

Link to comment
Share on other sites

Try adding a point wrangle at the end, inside your Solver1 node.

f@mask += @burn;
f@mask = clamp(f@mask,0,1);

Outside the solver, have your Color1 node reference mask instead of burn.

This should create a type of mask that persists even as burn decays.

burn_mask.gif

  • Like 1
Link to comment
Share on other sites

11 hours ago, Atom said:

Try adding a point wrangle at the end, inside your Solver1 node.


f@mask += @burn;
f@mask = clamp(f@mask,0,1);

Outside the solver, have your Color1 node reference mask instead of burn.

This should create a type of mask that persists even as burn decays.

burn_mask.gif

That wrangle works perfectly. Thank you pal

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