Jump to content
Sign in to follow this  
isah_voodoo

recording start frame

Recommended Posts

Hello,

I am scattering points over a certain number of frames in Sops . I want to be able to record the Frame in an attribute when the point is born.

I know I can use the @Frame attribute but that will constantly record the frame number..I need the attribute to freeze only on the frame it is born for each point.

There used to be a thread on this but i can't seem to find it..

Any help would be amazing, I will attach my file if anyone wants to see.

Thank you.

 

recording_start_Frame.hipnc

Share this post


Link to post
Share on other sites

you need a solver SOP for that and a condition like if(not pointHasExistedOnPreviousFrame) i@birthFrame  = @Frame;

Edited by 3dome

Share this post


Link to post
Share on other sites

take a look at this thread, I did a example of recording frame :)

 

 

Share this post


Link to post
Share on other sites

scatter the new points per frame and set @BirthTime to -1, in a solver, merge these new points with the previous frame, if @BirthTime is not -1, set @BirthTime to @Frame

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×