Nibbler Posted July 18, 2013 Share Posted July 18, 2013 hi, can anyone explain me why I can't get attribute 'right' processed next in collect and vopPop ? thanks Quote Link to comment Share on other sites More sharing options...
rafaelfs Posted July 18, 2013 Share Posted July 18, 2013 Can you post a file?! One reason I could think of is if the attribute wasn't initialized in one of the streams of particles you're collecting, just like the merge SOP... Cheers Quote Link to comment Share on other sites More sharing options...
Nibbler Posted July 18, 2013 Author Share Posted July 18, 2013 sorry, I forget press attach this file pops_left_right.hipnc Quote Link to comment Share on other sites More sharing options...
anim Posted July 19, 2013 Share Posted July 19, 2013 I see both attributes (left and right) on the final geometry and updating over time and of course for left points right attribute is 0,0,0, and vice versa Quote Link to comment Share on other sites More sharing options...
Nibbler Posted July 19, 2013 Author Share Posted July 19, 2013 I don't understand why it's happen, when I change the order in COLLECT pop one attribute is always 0,0,0 and only one is updating ??? Quote Link to comment Share on other sites More sharing options...
anim Posted July 19, 2013 Share Posted July 19, 2013 (edited) you need to understand you have 2 sets of points left and right lets say 3 left and 3 right to make things simple you are creating them and setting attributes in separate branches so they look like this left: pt0 - left attribute: -1,0,0 pt1 - left attribute: -1,1,0 pt2 - left attribute: -1,2,0 right: pt0 - right attribute: 1,0,0 pt1 - right attribute: 1,1,0 pt2 - right attribute: 1,2,0 but when you collect them, they'll get appended one after another so you'll get 6 points in total with corresponding values (all points will have attributes from all branches, but for any attribute that the point originally didn't have it gets assigned default value of that attrib, in your case 0,0,0) so they will look like this pt0 - left attribute: -1,0,0 right attribute: 0,0,0 <-- pt0 from left branch pt1 - left attribute: -1,1,0 right attribute: 0,0,0 <-- pt1 from left branch pt2 - left attribute: -1,2,0 right attribute: 0,0,0 <-- pt2 from left branch pt3 - left attribute: 0,0,0 right attribute: 1,0,0 <-- pt0 from right branch pt4 - left attribute: 0,0,0 right attribute: 1,1,0 <-- pt1 from right branch pt5 - left attribute: 0,0,0 right attribute: 1,2,0 <-- pt2 from right branch so for me Collect POP seems to work like expected Edited July 19, 2013 by anim 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.