Iraklo Posted April 29, 2014 Share Posted April 29, 2014 Hi, I'm new in Houdini and I've got situation where I want to switch between 2 delete nodes according to copied number so that if CY is odd/even, switch to , otherwise 1. How would that expression look like? Here is my network Quote Link to comment Share on other sites More sharing options...
ben Posted April 29, 2014 Share Posted April 29, 2014 you want to use a moduloeven % 2 = 0 odd % 2 = 1 Quote Link to comment Share on other sites More sharing options...
yesyes Posted April 29, 2014 Share Posted April 29, 2014 there is difference about when to use $CY or $PT, watch out for that. Quote Link to comment Share on other sites More sharing options...
Iraklo Posted April 29, 2014 Author Share Posted April 29, 2014 you want to use a modulo even % 2 = 0 odd % 2 = 1 Thank you for reply Unfortunately I'm not familiar to modulo. How can I use it? As I searched it is VAX node. there is difference about when to use $CY or $PT, watch out for that. Thank you I'm trying to get something like this formation out of this so I think if I'll delete every odd numbered point in one copy and every even in another, I'll get what I want. Quote Link to comment Share on other sites More sharing options...
Owl Posted April 29, 2014 Share Posted April 29, 2014 (edited) you dont need stamping for what youre trying to do copySopExample.hip P.S. stamping function works on the left (1st input) of the copy sop Edited April 29, 2014 by Owl 1 Quote Link to comment Share on other sites More sharing options...
Iraklo Posted April 29, 2014 Author Share Posted April 29, 2014 you dont need stamping for what youre trying to do copySopExample.hip P.S. stamping function works on the left (1st input) of the copy sop Thanks for example I don't Know VEX. How can I control number of copies in your example? Quote Link to comment Share on other sites More sharing options...
Owl Posted April 29, 2014 Share Posted April 29, 2014 circle>divisions? copySopExample_noVex.hip 1 Quote Link to comment Share on other sites More sharing options...
Iraklo Posted April 29, 2014 Author Share Posted April 29, 2014 circle>divisions? copySopExample_noVex.hip No. I mean multiple circles in Y direction. Is it possible to procedurally control quantity of circle copies? Thanks again. Quote Link to comment Share on other sites More sharing options...
Owl Posted April 29, 2014 Share Posted April 29, 2014 copySopExample_3.hip 1 Quote Link to comment Share on other sites More sharing options...
Iraklo Posted April 29, 2014 Author Share Posted April 29, 2014 copySopExample_3.hip Thanks a lot once again. 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.