Jump to content

Search the Community

Showing results for tags 'loop'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Lounge/General chat
    • Education
    • Jobs
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Found 39 results

  1. Hi, I have attached a scene file for reference, in the scene, I have fractured a box and used a for each loop to adjust its pivot points and position and again I have used a grid and scattered point to copy it. I have used for each loop to and a copy to points node. My problem is that, all of my fractured geometry gets copied to each point, while I know copy stamp method but is there any other way that I can use to copy each fractured piece coming out of a loop randomly over the scattered points via a copy to points node. Please let me know, I have attached a file below. * Also can you please let me know how to add strings in attribute vop node, suppose I want to create a string called "piece" inside the vop node and add the id or any random number to it and combine both the values as strings and also export it as a string attribute. Thanks copyToPoints.hipnc
  2. For loop expression

    Hello, i trying to do something simple but i am knid of new to houdini so i dont know the tricks yet. i have a float number in a for loop that i want to divide by two every iteration. What is the appropriate expression for that?
  3. For each POINT in each GROUP

    Hello guys I am still quite new in VEX coding and I am all day fighting with set of gravitational rules based on a membership of the points in groups. I am emitting particles, the particles are sorted to groups by 3-6 nearest points. So after couple of frames of emitting particles I have 100 groups and each groups has 3-6 points. Now I need to set some gravitational rules for every group so the points in every group will be attracted to each other just inside the group. I got stuck here. If anyone has any idea how to solve this issue, it would be perfect. Many thanks in advance. ap_ParticleGravitationalAttraction_01.hipnc
  4. hi Do you know how to keyframe each iteration inside for loop block? Currently, $F in "Iteration" parameter reevaluates everything. Or is there a way to keyframe "next "iteration?
  5. sinus loop/cycle

    Hey everybody, I am trying to make a simple sinus animation loop in a seamless way. If I am not mistake it should somehow work with combining sin($F), $FPS and $FEND is that correct? Unfortunately I was not able to figure it out so far and it seams like it is not as easy as I thought!? Thank you!
  6. Wax/chocolate tornado

    Hi all. I have some issue and want to make Wax/chocolate tornado animation. From bottom to top. Something like this https://vimeo.com/110055200 But visually more to this I tried Pop particles and Flip fluid, Flip fluid gives better look, but pop particles can die. Flip fluid can`t die, maybe I wrong. Can suggest how to achieve this look?
  7. Hello, im trying to have a good instancing setup with copytopoints node, but i feel like having a loop just to have instance variance is very much an overkill. Like my transforms are working without it and are super fast, but when i add the loop it just start to cook the loop for seconds after any changes. It is better when i put it in a compile block but still could be faster. I found one solution i did like with packed disk primitives and just changing the intrinsic attribute , but as far as a i know i cant do live objects from houdini, or lights and other type of objects. Any advices on this? I find it bit weird that the replacement of instance node workflow is so much slower, what do i miss here? Cheers, Mark
  8. Hi everyone, I'm trying to make each connected points(@class) being deleted overtime when they above XZ plan. I made a bounding sphere for each @class and copy to itself with decreasing @pscale when it's above the plan. And delete the points outside the sphere. It works well when I set it to "single pass" but it works totally wrong when merges all iterations together... I have attached an example file below, it'll be fantastic if someone can help me out with this. sopsolver_in_loop.hip
  9. Vellum loop?

    Hey magicians, I was requested to create some cloth in motion assets, I'm working with vellum, but having troubles to loop it as client requested. So far I used a blend shapes with first and end frame at the end, but the loop is quite noticeable since it reverses the blend at the end to start again. Here's a sample of the asset I need to loop: Here's another idea I had, I'm going to test it now: 1) Having the initial frame with cloth shape 2) Group the edges of that 3) Pin constraint the edges to vellum 4) Animate the edges having first and last frame in same state Any tips to loop vellum? Thanks!
  10. Hello, The title may be not that clear so rather then tell, I will show what I need to achieve first and then I will describe my approach (or better say approacheS, because I have been banging my head against the wall for quite some time with this). So basically here is what I need (did this quick and dirty animation in C4D): https://www.dropbox.com/home?preview=test.mp4 Now the tricky part is that this animation has to loop. Initially I started in C4D. Made some particles crawling along the surface of the statue, cloned some primitives on those particles and applied dynamics. It all works great but how do I loop it. Simulations are are very tricky to loop (especially in C4D) so I decided to go the Houdini way and try to build procedural setup that would give me similar result. My initial thoughts of the setup are the following: - scatter points on statue - make them move with the noise and use (minpos() function to stick them to the surface), and use periodic noise so the movement can be easily looped. - every frame attribute transfer normals of the statue to the moving points, so that when I copy objects they will be aligned to the surface - copy objects onto points and make sure there transformation axis is at the bottom so that when copied they appear on the surface of the statue - check for intersections with the statue (still not sure how to approach it but as far as I remember there is a way to see if two meshes intersect or not - if they intersect, move the object away from the statue along the normal of the point it is copied onto (I think this will have to be done in solver so that I move it slightly and then check for intersections again, because the distance the object has to be moved may differ) - I still do not know how to avoid intersection between all the objects on the statue themselves ( do not have any ideas so far) For now I am stuck on trying to loop the movement of the points. I can loop them easily in 3D space but when I minpos() them on to the surface they jump from time to time. I understand why this happens but can't figure out how to avoid it. I tried attrib transfering the normals of the statue to the points every frame (in solver) and then calculating the cross product between normal of the point and vector generated bu the noise. This gives pretty smooth movement but the loop breaks of course as you may have guessed. Anyway, thanks for reading this far. If you have any ideas on how to make it work, please let me know, I appreciate any input. I have posted same question on the SideFx Forums on friday but it is still been reviewed (takes so long). Maybe I am overthinking things and there is easier way to do it say in C4D, in case you know it, please let me know. And do you think my thinking process is somewhat right? Looking forward to any help. Have a great day everyone!
  11. Looping FLIP Fluid Sim

    Hi, I'm trying to loop a FLIP fluid simulation, it's a simple water container with various floating objects interacting with the water. I need to loop the sim and didn't have any luck with the "Make Loop" node from the Games shelf. Anyone know how to get this to work with a fluid sim? Thanks!
  12. Copy to Points - Foreach

    Hey! I was wondering how to copy Geo to points using the Foreach Loop block, but without using a switch. Instead I am trying to use groups to switch between the input Geo. Unfortunately I was not successful yet. Maybe anybody has an idea what I am doing wrong here? Best, M CopyLoop_01.hip
  13. Edge Fracturing

    Hello houdini people, Im relatively new to the houdini scene coming from traditional modelling background so go easy on me! I came across a webinar from 2016 with Mike Lyndon in which he talks very briefly about applying a secondary frracture to already fractured pieces around their edges. I've attempted this with what very little skills and understanding i have in the software to this point but just can not seem to figure out how to contrain the secondary fracture to just the outer edges of each piece. I figured an approach would be to bevel the pieces and create a new group for this beveled area and apply the secondary fracture to only this group however i am not getting the desired results. I've attached a file with the approach i took and how far i got Any suggestions on achieving the effect would be much appreciated! Cheers guys and girls! Edge Fracturing.hip
  14. I have 2 sets of points: 'parent' and 'child'. Both have the same number of points. I need each parent point to have a unique child assigned to it - no duplicates. I need to be able to animate in an active value for the parent points, so that they all become active in 3-4 frames. When a parent point becomes 'active', it needs to search for its nearest available animated point and set that animated point's id number as 'child_id'. An animated point is only 'available' if it doesn't already have a parent point, or in other words: if the child_id is currently unused. My issue comes from the VOP I've set up within a SOP solver. If there is more than one parent point becoming active on a single frame, I get multiple parent points assigned with the same child point. I need to be able to write to 'child_id' and read from it on the same frame, to make sure that I am not getting multiple parent points with the same child points (leaving some very lonely, parent-less child points ). Please take a look at my attached file. I've highlighted the important nodes, and the Find Attribute Value VOP in red is where the issue is originating. find_unique_child.hip
  15. I have four visible platonic objects in the viewport here in this scene, but wehn i display the information on the end loop ive got 48? how can i split them or randomize there position? Lines_001.hip
  16. Condision in SOP ?

    is there any solution for make a condition in sop level ? for example i have a loop (based on connectivity) and inside that i want to add pollycap on only objects which have unshared edge. is this possible to do it in houdini sop ? thanks
  17. ForEach VEX doubt!

    hey guys, I have various primitives and those have different amount of points on them, for example each one primitive might have 10 points and other might have 20 so it varies like this, Now i want to have an attributes which ranges from 0 to 1 for each primitive just like what we get from curveu attribute in resample node. I know how to do this in for each sop but i want to do this in vex, am somehow not able to get that loop working correctly. I store the array using primpoints to get the points on that primitive and iterate that through a for loop but i am not able to get normalised value ranging from 0 - 1. Can please someone help?
  18. Loop Particles for Geo Instances

    Hi everyone Wonder in knowing, I am trying to get a kind of loop particles systems, means that when they collide with an object, will recover back their original position and re-simulate creating a loop. Main constraint here is that ptnum must to be constant, cannot die. After this it would allow to set different conditions as reboot when leaves frustrum or after a certain initial age, etc. My only issue is that I arrive at update (in the wrong way for being honest) the velocities to re-do the sim cycle, just that goes in the worng direction, exist a way to make them restart with their initial velocities, attached a HIP file of example. Thanks LoopParticlesTEST.hip
  19. The Cube

    Hey all, I got super excited on this image and started to make something based on it And now I'm reaching out for some guidance. Attached is where I was heading... still not getting the nice symmetry and variety that the image has. Any help would be appreciated thanks! cube_v001.hipnc
  20. The Cube

    Hey all, I got super excited on this image and started to make something based on it. And now I'm reaching out for some guidance. Attached is where I was heading... still not getting the nice symmetry and variety that the image has. Any help would be appreciated thanks! cube_v001.hipnc
  21. Hi guys, is it possible to get an attribute value from loop before current in foreach loop?
  22. Looping Fluid Simulation

    Hi I made a water tornado, the movement is just like a tornado, rising from ground but I used flip particles and the pop axis force to generate the orbit and lift force. After a certain frame, I would like to let the simulation loop but without increasing the height of the water pillar. Basically, the pillar stops rising but the flip particles still behaves dynamically. Is this possible? How would I go about doing this? Thanks
  23. UV loop

    Hey, I need a bump map to repeat on each primitive of an object. Not I can use an uv flatten in a for each loop and apply a map onto each prim. That works with simpler scenes. But on my scene the loop has to make 600.000 passes + it tends to crash. Does anyone know a way to increase the speed of this process or a better, faster way? Cheers!
  24. Hi guys, first topic, it's a beautifull moment. So i have a really really simple thing to do but i can't figure a way. I have like 3 objects, i want to go threw a for loop to get the bbox of these 3 objects and the generate a bbox from a cube with every of these objects. So at the end i will have 3 boxes with the size of the windows. I want to make it automatic so if i plug a new window it will be generate. Easy right? But i can't find the way to do it with the for each loop, some help? thanks So just for you to know, i loop in every windows and i take the bbox in a wrangle with this v@bbox= getbbox_size(0);
  25. Point Wrangle inside foreach loop

    I'll get right to it. I am running a foreach loop on a bunch of prims. For each prim I scatter a number of points. Still within the foreach loop, I run a point wrangle on those points. In the wrangle I run intersect on each of the points and if one hits I want to set an attribute on the prim (foreach loop peice) that the points were scattered on. In the end I don't need the scattered points, I just need the prims output with the attribute @keepage. What I cant figure out is how to set up the forloop so that this works.