Jump to content

Attribute transfer using PcOpen FAILING!


yashpolke

Recommended Posts

Hello all! 

So, I am animating a sphere with red colour and transferring that colour to a black grid. Using a solver I then create a lag of the colour value on the grid. 

The first method I use is ofcourse the Attribute Transfer SOP. This method works great and is perfect 

The second method I use is a wrangle and I do a pcfilter by Cd and transfer the colour 
Now the problem using this method is that when I do this transfer of attrib in the solver, it does not create a lag as I expect it to, like the attrib transfer SOP and I am curious as to why that is happening 

Hopefully someone has the answer to this, any help would be greatly appreciated! 

-Yash
 

post-11792-0-46112900-1460277522_thumb.j

post-11792-0-55592200-1460277525_thumb.j

attribTransLag.hipnc

Link to comment
Share on other sites

You are not adding to the existing @Cd values in your wranlge, just add a "+=" to your line:

 

v@Cd += pcfilter( handle, "Cd" ); 

 

which is the same as:

 

v@Cd = @Cd+pcfilter( handle, "Cd" ); 

Edited by Yader
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...