Jump to content

Solver SOP Prev_Frame problem


Recommended Posts

Hello everyone!

I'm having problem with this Solver SOP, the Prev_Frame doesn't contain the attributes I modify in the solver, like it's always the first frame.

Maybe I don't understand how this work but isn't the Prev_Frame node containing the output geo from previous frame?

 

I idea here is to check if a point velocity is above a certain threshold then start a timer on it (decreasing each frame), these points are used as a smoke emitter.

The original geo is a RBD sim, at first a thought is was that but even with a test sphere it doesn't work...

 

Please help, thanks you!

panda_dust.hipnc

Link to comment
Share on other sites

When u transfer attributes u atransfer all but not group "emitter". So when u set points in group in wranle node("check_point_v") u set it by condition if(waiting==1). But at next frame "waiting" gets 0 and and condition in wrangle("check_point_v") not performed that is why points go out from group "emitter".

 

So, decisions: 1) at wrangle set another condition if(@waiting==0) @time-=.1;

                      2) put grouptransfer node

By the way, i decreace solver's substep to 1. Becouse @time behavws weird.

 And i did some changes to improve work.

Hope it will help.

 

panda_dust.hipnc

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