TomRaynor Posted October 3, 2012 Share Posted October 3, 2012 I have 8 points in SOPs. I make 8 channels in CHOPs corresponding to the 8 points. I mess around with the 8 channels so that they are unique (to be used as a trigger attribute for each point later). Now comes the time to bring the 8 channels back into SOPs so that each channel represents the value of an attribute on each point. I have 8 channels, I have 8 points, but how to I apply the channels back to the points correctly using the channel SOP (or otherwise). (see attached scene file) Thanks! chopsDilemma.hip Quote Link to comment Share on other sites More sharing options...
sadhu Posted October 3, 2012 Share Posted October 3, 2012 (edited) Use geometry chop to import trigger attrib and add it using math chop to output that you have got in chop. In channel sop write trigger in channel scope and attrib scope. chops_soln.hipnc Edited October 3, 2012 by sadhu Quote Link to comment Share on other sites More sharing options...
TomRaynor Posted October 3, 2012 Author Share Posted October 3, 2012 Cheers sadhu, that totally works... Thing is though, what I don't get is that the end result in CHOPs by the time you have got to the "OUT" node is the same as in my example file is it not? We have 8 channels called trigger[1-8] that need to be transferred back onto 8 points... Why does the fact that it has come from a geometry chop rather than an arbitrary channel chop make any difference? Quote Link to comment Share on other sites More sharing options...
malexander Posted October 3, 2012 Share Posted October 3, 2012 The Channel SOP in animated mode expects that the channel numbering start at zero, not one. If you modify your example so that it produces trigger0-trigger7, it'll work. The reason that the geometry CHOP solution is working was because it is producing channels that start from zero. The help card doesn't make this clear, so I'll add a blurb on that. Quote Link to comment Share on other sites More sharing options...
TomRaynor Posted October 3, 2012 Author Share Posted October 3, 2012 Thanks very much Mark, just the info I needed. 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.