Fractal Ornaments

comments 15
Tutorials
Featured Video Play Icon

It often occurs to me that I need to look up certain functions in Houdini. One of those things that I constantly struggle with are For-Loops. So as a reminder to me and to you – here’s a tutorial about their use. We’re gonna build a fractal(ish) ornament by copying geometry on itself. By using – you guessed it – a For-Loop. Have fun!

Download Project File (.hipnc)

Share on FacebookTweet about this on TwitterPin on PinterestEmail this to someoneShare on LinkedInShare on Google+

15 Comments

  1. SAEED(IRAN) says

    thank you. please explain about vopsop and vex and explosions

  2. Moritz says

    Hi Saeed,

    thanks for your feedback – there is more content about VEX coming soon. As for the VOPSOP – we use it here and there. For example you can find a bit about it’s usage in the Poly Rembrandt Tutorial here: https://vimeo.com/169434626

    Cheers,
    Moritz

  3. jim says

    Another brilliant tutorial! Please keep them coming.
    Is there a way to interrupt or pause the for loop to complete another action, say render the image or export an fbx, then return to and continue the for loop?

    • Moritz says

      Hi Jim,
      not sure if this is what you mean but hitting escape will always stop the execution of the current SOP. So if anything takes too long to cook, just hit escape. You can see the current status in the lower left corner.
      Cheers,
      Moritz

    • Moritz says

      Thank you 🙂
      And – Cool! How much speed do you gain from importing via VOPs?
      Cheers, Moritz

      • olivier jeannel says

        Bonjour Moritz,
        I haven’t tested really, just did the expression way, then did the vop way and thought “hey, it seems faster”. Not very scientific 🙂
        There’s a tool in Houdini to measure performance I believe, but never tried. I’m still super beginner in Houdini.
        I’ve red that Vops are multithreaded while expressions is script singlethreaded _ feel free to give a real complete answer on that aproximative presumption 🙂

  4. olivier jeannel says

    I have a request tutorial, while we’re here.
    I find dozen (okay half-dozen) tutorials to build loops in VEX, but almost no (mean not comprehensive ones) tutorials to build loops in VOP (the new for loop system without subnet).
    Looks like a silly request since they are the same in principe, but I always fail.
    BTW, I was so happy when you demoed how to build arrays in vop (PC find / Get Element), and then someone posted a looped method in vimeo comments.

  5. Giovanni La Rocca says

    Hi Moritz,
    thanks for the detailed explanations you and Manuel provide us in these tutorials, they are really helpful for us beginners.

    I was wondering how – and if – is it possible to animate this setup (or the one Olivier posted) so that the elements of each iterations scale up from 0 instead of just appearing when the iteration number grows?

    • Moritz says

      Hi Giovanni,

      yes that’s definitely possible in a number of ways. One would be to add a @pscale attribute to the points you’re copying the shapes on and animate that. In order for each iteration to be animatable individually you’d for example have to give each iteration its individual group and then animate @pscale for each group individually.

      Cheers,
      Moritz

      • Giovanni La Rocca says

        Thanks for the fast response Moritz!

        This makes totally sense in my head but I’m having a hard time trying to actually make it work in Houdini – I’m a c4d user and totally noob here.

        Anyway I realise basic workflow knowledge is not the point of your site, and there are plenty of resources out there, so I’ll let you know how this goes! Really looking forward to see what you’ll bring up next 🙂

  6. Nik Willmore says

    Normal text scripting is exactly what I turned to in Rhino Grasshopper to escape from such bizarre spaghetti, so moving into Houdini I see myself doing the same thing, to bite the bullet and learn VEX enough to just add a script node for loops and conditionals.

  7. kuzy62 says

    Great tutorial…..I was trying to scale the Polywire with each iteration…..I’m pretty sure it is just another Transform node but I can’t quite figure out how to wire it up…..any advice would be most appreciated!

    • Moritz says

      Hey Kuzy,

      have a look at the project file – there’s already a polywire set up to scale acording to the iteration number 🙂

      Cheers,
      Mo

Leave a Reply

Your email address will not be published. Required fields are marked *