Jump to content

Search the Community

Showing results for tags 'forloop'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
    • Marketplace
  • 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 8 results

  1. Hello dear fellas, I'm currently studying Anastasia Opara's Procedural Lake Houses (wonderful, but a little bit outdated since it still makes use of for loop subnets) and I'm reporting a "weird behaviour" when using for-loops along with the iteration detail attribute that comes from metadata.. While trying to "update" Anastasia's workflow to houdini 18, I wanted to use the iteration number coming from metadata to blast everything but the correspondent "piece" number, which unexpectedly keeps piece 0 at every iteration and not piece=iteration. I'm using a second block begin fetching in some primitives (I've already tried fetching pieces but it gives an error since block end isn't set to "pieces" but "feedback"). I'm sure it will make more sense from images and my hip file, I've already tried the documentation and a lot of other topics here on odforce but I couldn't figure out what i'm missing. Is there anyone who could find what I'm missing? It would be of great help! Thank you in advance Cheers Frank for_loop_issue.hip
  2. as you can see the code below: i[]@values = findattribval(0,"point","random_number",3); for(int i = 0 ; i < len(@values) ; i++) { if(@ptnum == @values[i]) { @pscale = ch('specific_pscale'); } else { if(@ptnum != @values[i]) @pscale = ch('rest'); } } the second if inside the else doesn't work properly. Specific_pscale.hip
  3. I have a compile block for a nested foreachblock and it shows up at the compile end an error, that the "point set is trivial". Anyway, seems to work. What is this?
  4. Hi guys Im fairly new to houdini I am spawning a cube along a curve using a copy to points and a carve in a for loop, so I can spawn multiple cubes but also control their position along that curve individually. My question is how can I use a switch and a for loop so that I can also control what geo is then assigned to each iteration of the copy to points, first I spawn a cube, then I want to select a sphere, then a cube again or is a for loop not the way to do this? Any help is super appreciated! Thanks,
  5. Add prims VEX

    i'm trying to connect each point with the next one and then the centroid what am i doing wrong? seems simple enough (maybe there is a node for that) ideally i want to make also edge loops after like concetric circles connect_to_center.hip
  6. I have a large number of wedges, but I used the wedge to simulate different section of one large simulation. Now I need to read them all in and merge them into a single geo. I have 82 wedges, is there a way to bring them in without having to use 82 filecache nodes? I tried to run a loop and collect all the files, I used the iteration detail attribute in place of the wedge to cont the numebr of times the filecache should loop, it doesn't work. i might be missing something, please enlighten me.
  7. How to write for loop in vex

    Hello guys, I know how for loop works in c++ but i am not able to write in vex .Can anyone explain me how to write for loop with simple point and color example . Thank you
  8. Hi there! I just learned to build multifractals using a forloop vop in H14. (see images attached) This was quite easy by putting a noise node inside the forl-vop and adjusting the iterations. Just wondering how to replicate this using the new forloop in H15? Best
×