Jump to content
Valent

I want to transfer attribute once then hold the value

Recommended Posts

Hi,

I want to transfer an attribute to an animated object, but I want the transfer to happen just once at frame 1 and not at every frame.

Can I do that?

 

I know that in this particular case I can simply put transform node at the end of the chain and that would be it, but I'm looking for a more universal solution.

Also, can I make the 'remesh_SOP' to remesh the geometry just once, because by default it remeshes whenever any position change happens?   

attr_tr_q.hipnc

Share this post


Link to post
Share on other sites
Posted (edited)

hi ..

use CopyAttr SOP i think Work!!!

Edited by Milad Savar
:)
  • Like 1

Share this post


Link to post
Share on other sites

you can freeze an animated object on the first frame with Timeshift SOP, do the transfer, and then reapply the animation with Attribute Copy SOP. this is topology dependent so you can't do any topology alterations in this process.

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

a small expression could be made so say something like:

if($F == 1){transferAttribs}else{do_nothing}

... I'm sure the other methods above are simpler though?

Edited by MilesS1

Share this post


Link to post
Share on other sites

@MilesS1 Thanks, but that was not quite what I was looking for, in your solution the transfer happens only IF frame == 1

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

×