Search the Community
Showing results for tags 'randomize'.
-
Hi, I need to randomize name attribute and have a dict of names wich I have to randomize with. Dict is as rob, car, ed. The way I wanted to do it is like this but it does not work if(name == "name", switch(int(rand($PT)*3), 0, "rob", 1, "car", 2, "ed"), "don") How can I get a result I want? Thanks! D.
-
how does the material variation node work in karma?
- 4 replies
-
- material
- varaiation
-
(and 2 more)
Tagged with:
-
Hey, I´m trying to sort and rearrange points based on their randomized y-scale attribute along a curve. Sadly I only manage to number these points correctly based on the attribute, but fail with rearranging them. I wish to sort them from smallest to highest. The best solution would be to make the distance between the points dependent from the attribute aswell. big scale = more distance between the points, smaller scale = smaller distance between the points thanks a lot already : )
-
Hi guys, I have a pig head which I have sliced and packed, I am trying to randomize the color of each chunk by using a attribute random on the Cd, and a color node with a ramp from attribute after. The problem is that the color node doesn't assign the new colors to each chunk of the pighead, it mostly "overlays" it. Thanks! frac.hip
-
Hi everyone. I'm trying to create a setup that instances a few models randomly as vellum soft bodies. I want them to spawn four at a time, every twenty or so frames. I'm almost there I think- however my current solution involves using a switch that picks a random model based on time, so I always end up getting sets of four of the same model for every round of instancing. I feel like the solution should be relatively simple, but I don't mind changing my approach significantly if it's necessary. I've attached a .hip file and an image. As you can see in the picture, there are very obvious groups of objects that formed at the same time: VellumInstancing.hipnc
- 4 replies
-
- vellum
- instancing
-
(and 2 more)
Tagged with:
-
Hi Everybody, Im looking at Entagma's shortest path growth by Ben, trying to find a way to randomise the carve sop. Any ideas, also Im new to Houdini, sorry for being a hassle.
-
Hi, I'm trying to randomize the uniform scale of some spheres which are being copied to points. However, nothing I've tried is working. The best result is using a transform node, but all the spheres merely scale to the first parameter and ignore any type of randomization. The attached file currently has an app wrangle using some vex to randomize pscale that was defined in an att created node, but it's throwing errors I don't understand how to fix. Thanks in advance... wk5_terrain-02.hipnc
- 2 replies
-
- copy to points
- random
-
(and 1 more)
Tagged with:
-
Hello, I am having trouble randomizing parameters from instanced geometry from within an "instance" subnet. Say for example I wanted to randomize the speed of an instance's animation (on the sop "timeWarp" node), or the start frame of the instance's animation (on the sop "timeShift" node), or perhaps randomize it's material. Please check attached file. Thanks in advanced. instance_randomize.hiplc
-
Hello everybody! I've got one agent for a crowd simulation. He's holding a sword on his R_hand. When using Agentedit node, Im able to adjust transformations of that controller, which is great, but it affects all agents in the same way. =( What would be the approach to randomize the wrist rotation to get some variation over to the crowd sim ? Thanks!
-
Hello, Trying to learn and understand Houdini's procedural modeling processes. I am trying to build a bookshelf like so Can anybody suggest a good way to randomize the scale of each copy? Ideally, no expressions if possible. Prefer to visually connect nodes in Houdini TEST 06 Book shelf.hiplc
-
I just installed Houdini 15.5.683 for Ubuntu 16.04 and I gave a quick look to see how different was from windows version. The first issue that I encountered is with attribute-randomize sop, that gives me a strange error (VEX related). I tried the same setup in windows and everything works smooth! maybe is a ubuntu specific bug? there's someway to fix it, because this sop is essential to me. thanks in advance ps. I navigated inside the attribute randomize sop to find the actual line error.
-
Hello all, I'm rather new to Houdini and this has left me scratching my head. My goal is to have a bunch of spheres moving up and down, as if they were bobbing on water. I've created a field of spheres by scattering some points onto a grid and then linking a sphere into a Copy Sop. I then stamped a variable called "bobbing" with this expression: rand($PT)*sin($F*10)/3. This makes some of my spheres move more than the others. My issue is that I can't manage to stop them from all starting this motion together and the sine curve kicks in for every one at the same time giving me the effect of a sound speaker playing. How do I get them to retain their current up-down animation while offsetting the start time? I've tried a ForEach SOP and also a Timeshift SOP but none of them worked and I'm stumped. I'd be grateful if you could offer any suggestions. I've attached the .hip file. bouncingBalls.hipnc