hmihalis1 Posted December 11, 2020 Share Posted December 11, 2020 Hi all, I need to generate an integer attribute on points that switches between 0 and 1 across a frame range like this: so the length of the spans is driven by a min/max, and their distribution is then randomly scattered across the frame range. This also need to be different for each new point as they are born . Could anyone help me break down what I need to do this in vex/vops? I was told to look into arrays and while loops which is well beyond my current VEX level. Many thanks, H Quote Link to comment Share on other sites More sharing options...
Librarian Posted December 11, 2020 Share Posted December 11, 2020 Use Chops https://www.sidefx.com/docs/houdini/vex/contexts/chop.html https://www.tokeru.com/cgwiki/index.php?title=HoudiniChops Quote Link to comment Share on other sites More sharing options...
hmihalis1 Posted December 11, 2020 Author Share Posted December 11, 2020 (edited) Thanks @Librarian . Are you suggesting generating a noise and clamping it? I had thought of chops as a solution but is there a way to randomize that per point, and also to define the precise duration of the periods? i know i could use a noise but im trying to find a way to avoid having to tweak values to get the kind of variation im after and instead be able to just enter the values. Looking at the tokeru article now and it seems like theres some stuff that covers per point offsets specifically which is cool - i'll see what I can figure out with the spans Edited December 11, 2020 by hmihalis1 Quote Link to comment Share on other sites More sharing options...
Librarian Posted December 11, 2020 Share Posted December 11, 2020 Something similar I also Thought, regarding Waves and Math Using Limit With Quantize ...HM Quote Link to comment Share on other sites More sharing options...
hmihalis1 Posted December 11, 2020 Author Share Posted December 11, 2020 I think i'd have to work through these tutorials and get a better grasp on chops first - i managed to bring in the points and generate a channel per id, so thats a start Quote Link to comment Share on other sites More sharing options...
Librarian Posted December 11, 2020 Share Posted December 11, 2020 @hmihalis1 Here I have Fun Like Always, You can make Some Really Nice Patterns if you Spend Some Time Quote Link to comment Share on other sites More sharing options...
hmihalis1 Posted December 11, 2020 Author Share Posted December 11, 2020 wow @Librarian this looks super cool thanks! 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.