Search the Community
Showing results for tags 'while loop'.
Found 2 results
tagosaku posted a topic in ScriptingHi, I have used Houdini for a few years, but have not used these loop block nodes so much in VOP. This is because it's really hard to understand what's happening on the way and how to use input and output exactly, although I understand SOP level's loop nodes well. Thus, I really appreciate if anyone explain each usage of input and output with typical examples for each block/loop node! For instance, blockA is good for creating primitive line. blockB is convenient with checking nearest points, blockC is same as loop-SOP but faster, etc... Many thanks!!
Hey everyone- I am currently trying to divide a polygon with a grid centered over it with a random angle, and then voronoi fractured: for each of those voronoi fractures, i want to give them random attributes, then plug them all into the above procedure and do the same thing, and for each of those new fractures the same thing, etc. etc, until my computer runs of RAM.. Just kidding, but you get the idea. I'm relatively new to houdini but since I have done graphics programming and modelling in the past I have gotten comfortable with it quickly. For this I've tried everything, from making a digital asset and putting the same digital asset inside of it (recursion) to using a solver, but I couldn't get anywhere with either. I also tried using a for loop with feedback but that seems to only effect the original input grid. If this wasn't too complicated to program I'd use a while loop in vex, but the idea of writing out a polygon slicing program seems like overkill. There's definitely an easier way to do this?