Masoud Posted August 2, 2020 Share Posted August 2, 2020 (edited) Hello; I wonder why I can't transfer “P” attribute values, to second geometry, by “Attribute Transfer” SOP..!? Thanks for helping. Att_Transfer.hip Edited August 2, 2020 by Masoud Quote Link to comment Share on other sites More sharing options...
dleonhardt Posted August 2, 2020 Share Posted August 2, 2020 That is what the "Match P Attribute" checkbox is for. Quote Link to comment Share on other sites More sharing options...
flcc Posted August 2, 2020 Share Posted August 2, 2020 And in your example, as distance between original points and displaced point is much greater than neighbour points distance, you also need to use source and destination groups. 1 Quote Link to comment Share on other sites More sharing options...
eimk Posted August 2, 2020 Share Posted August 2, 2020 If you don't need any of the other functionality of the attribute transfer node, it would be faster to use a wrangle: @P = @opinput1_P; (line into input 0, edit into input 1) 2 Quote Link to comment Share on other sites More sharing options...
Noobini Posted August 2, 2020 Share Posted August 2, 2020 you CAN write the vex yourself every time if you want to, or if you feel lazy, just a Point SOP, preset Morph to 2nd input then you can have a controlled lerp amount. 2 Quote Link to comment Share on other sites More sharing options...
Masoud Posted August 3, 2020 Author Share Posted August 3, 2020 22 hours ago, dleonhardt said: That is what the "Match P Attribute" checkbox is for. I turned " Match P Attribute "on, but it doesn't work. Quote Link to comment Share on other sites More sharing options...
Masoud Posted August 3, 2020 Author Share Posted August 3, 2020 Thanks, everyone, good tips. Quote Link to comment Share on other sites More sharing options...
DonRomano Posted August 4, 2020 Share Posted August 4, 2020 vector pos = point(1, "P", @ptnum); float mix = ch("mix"); @P = lerp(@P, pos, mix); 2 Quote Link to comment Share on other sites More sharing options...
eimk Posted August 5, 2020 Share Posted August 5, 2020 14 hours ago, DonRomano said: vector pos = point(1, "P", @ptnum); float mix = ch("mix"); @P = lerp(@P, pos, mix); Even shorter version: @P = lerp(@P, @opinput1_P, ch("mix")); 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.