rich_lord Posted December 2, 2012 Share Posted December 2, 2012 Sorry to be asking so many basic questions, but im really trying to understand some of the fundamentals of VOPS. I've got 3 lines of 100 points each, all with an attribute class on each point to determine what line the points belong to. In VOPS, id like to transform just one of thoose lines forward a bit - this is just a simple test to help me learn the concepts. I make a compare and an if block in VOPS to test if the current point has a class value of 1, and transform those points by a bit. That works great, but the other points that ive not transformed all move to 0,0,0..... I need a way to combine two different streams of pointPosition together... Is there a general way to do this? If different streams of VOPS calculate pointPosition, how do I combine them back together? Thanks! transformJustOneLineInVops.hipnc Quote Link to comment Share on other sites More sharing options...
kgoossens Posted December 2, 2012 Share Posted December 2, 2012 Is there a general way to do this? If different streams of VOPS calculate pointPosition, how do I combine them back together? Thanks! Hi, the attached file contains 3 methods you could use. transformJustOneLineInVops-Kim.hipnc Quote Link to comment Share on other sites More sharing options...
Artem Smirnov Posted December 2, 2012 Share Posted December 2, 2012 Well, since I'm free today.... transformJustOneLineInVops_ver01.hipnc Quote Link to comment Share on other sites More sharing options...
kgoossens Posted December 2, 2012 Share Posted December 2, 2012 Well, since I'm free today.... And that would be a 4th method then Quote Link to comment Share on other sites More sharing options...
Annon Posted December 2, 2012 Share Posted December 2, 2012 Use a two way switch, I've updated your vop in the example scene. Christian transformJustOneLineInVops.hipnc Quote Link to comment Share on other sites More sharing options...
Annon Posted December 2, 2012 Share Posted December 2, 2012 Ohh sorry I didn't see the other replies before... Quote Link to comment Share on other sites More sharing options...
rich_lord Posted December 2, 2012 Author Share Posted December 2, 2012 Alright! This is what i`ll do on Sunday morning from now on - post on Odforce! Thanks for all the help - ive stepped through all the example files and have learnt new nodes and some quirks of VOPS. The two way swtich is probably my favourte method because it really is super general, and useful for combining streams. I suppose I should have guessed that solution because of the similarity to the SOPS switch node. Also, I didnt understand that if I created a global variables inside a If statement, it would only get evaluated if the statement was true - but if you pass the global P into the If statement, then it only effects the points that evaluate to true - super handy. Thanks Christian and Kim... And Artem - thats two times today already - thanks so much! I`ll get all this VOPS stuff sorted out in my head eventually! 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.