Point by Point | Simon Fiedler | Houdini HIVE Utrecht

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 45

  • @ilyaeuteneier
    @ilyaeuteneier 6 лет назад +30

    // project first point
    vector minpos = minpos(1, @P);
    @P = minpos;
    vector currentpos = @P;
    // set up initial variables
    vector dir = chv("axis");
    int newprim = addprim(0, "polyline");
    for( int i=0; i < chi("number_of_pounts"); i++ ) {
    // check N of closest point to the currently processed point on surface
    int closept = nearpoint(1, currentpos);
    vector closeN = point(1, "N" ,closept);
    // calculate new point position
    vector newpos = normalize(cross(closeN, dir + curlnoise(currentpos + i * 0.01) * ch("noise"))) * ch("stepsize");
    // reproject new point position onto surface
    vector projectpos = minpos(1, currentpos + newpos);
    // draw new point with layer offset
    int newpt = addpoint(0, projectpos + closeN * ch("offset") * 0.00001 * i);
    addvertex(0, newprim, newpt);
    // set the new point to be the currentpos for next iteraction
    currentpos = projectpos;
    }

  • @vonak6583
    @vonak6583 3 года назад +1

    Thank you for sharing !
    For those who have issues with doing the first one, don't forget to put normals on point AND activate your point into the "add" node !

  • @user-kw9cu
    @user-kw9cu 4 года назад +7

    vector minpos = minpos(1, @P);
    @P = minpos;
    vector currentpos = @P;
    vector dir = chv("axis");
    int newprim = addprim(0, "polyline");
    for( int i=0; i < chi("number_of_points"); i++)
    {
    int closept = nearpoint(1, currentpos);
    vector closeN = point(1, "N", closept);

    vector newpos = normalize(cross(closeN, dir + curlnoise(currentpos + i * 0.01) * ch("noise"))) * ch("stepsize");
    vector projectpos = minpos(1, currentpos + newpos);

    int newpt = addpoint(0, projectpos + closeN * ch("offset") * 0.00001 * i);
    addvertex(0, newprim, newpt);

    currentpos = projectpos;
    }
    !!! Before feeding geometry to the wrangler add Normal node and set "Add normals to: Points"

  • @MrMythorst
    @MrMythorst 5 лет назад +4

    Hey Simon, thanks for the great Asset and Tutorial. But where can i find your asset ? thanks a lot :)

  • @ThomasKlyhnChristensen
    @ThomasKlyhnChristensen 6 лет назад +4

    I dont understand why but I cannot get this to work, I have copied it exactly (at least I think so) i am getting no errors and the first point is drawn on the surface of my geometry, but nothing else happens, no matter the number of points, stepsize etc, none of it changes anything. I can see more point being added in the spreadsheet but they are all in the same spot. any ideas? was this code posted somewhere by now?

    • @felipe_ai
      @felipe_ai 6 лет назад +3

      You target geo needs point normals, you can add a normal node and set it to points

    • @sergeyrybkin1331
      @sergeyrybkin1331 6 лет назад +1

      after geometry create attribwrangle @N=@N;

    • @whomair
      @whomair 6 лет назад

      @@sergeyrybkin1331 tried adding the normal node and attribute wrangle both. checked the code, no visible errors. nothing shows. what am i not doing?

    • @SansP3ur
      @SansP3ur 6 лет назад

      I"m not trying to be dodgy or smug, but you may want to consider taking your question to forums.odforce.net/ then link your thread back here.

    • @왜못할거라생각해
      @왜못할거라생각해 5 лет назад

      @@felipe_ai Can i get help from you? how did you made it to work?
      Can you send me a screen shot on discord or something

  • @소은정-s3e
    @소은정-s3e 4 года назад

    thanks for this tutorial, but i cannot make it for last two cases. how can i make that curves avoid each other..

  • @yanasitta
    @yanasitta 5 лет назад +1

    Thanks. I got curve wrap to work but its seems to only want to distribute towards the bottom of the object and not to far up unless I mess with the transform translation settings.

    • @왜못할거라생각해
      @왜못할거라생각해 5 лет назад

      Can i get help from you? how did you made it to work?
      Can you send me a screen shot on discord or something

    • @keanodaley512
      @keanodaley512 4 года назад

      @@왜못할거라생각해 hey mate do you have a email? i need help with this.

  • @Zorn101
    @Zorn101 5 лет назад +2

    Where can I find the Noodle doodle sop?

    • @Ali-pi6mn
      @Ali-pi6mn 4 года назад

      hey can you tell me how to added geometry to the line for the first one??

  • @julyperez8343
    @julyperez8343 2 года назад

    True love

  • @nothingspeaks
    @nothingspeaks 6 лет назад

    whats after curl noise? its cut off

  • @lahiru3908
    @lahiru3908 4 года назад

    Thank you

    • @Ali-pi6mn
      @Ali-pi6mn 4 года назад

      hey can you tell me how to added geometry to the line for the first one??

    • @keanodaley512
      @keanodaley512 3 года назад

      @@Ali-pi6mn did you get it to work?

    • @Ali-pi6mn
      @Ali-pi6mn 3 года назад

      @@keanodaley512 yes I used poly wire

    • @keanodaley512
      @keanodaley512 3 года назад

      @@Ali-pi6mn do you have Instagram or something? I think I need to help bud.

  • @renderdude5997
    @renderdude5997 6 лет назад +1

    cool

  • @julyperez8343
    @julyperez8343 2 года назад

    God

  • @sams_3d_stuff
    @sams_3d_stuff 5 лет назад

    It's working for me,thanks. In a weird way though :/

    • @왜못할거라생각해
      @왜못할거라생각해 5 лет назад +1

      Can i get help from you? how did you made it to work?
      Can you send me a screen shot on discord or something

  • @thing3d
    @thing3d 6 лет назад

    same issue for me.

    • @xl000
      @xl000 6 лет назад

      after geometry create attribwrangle @N=@N;

  • @Staglaitor
    @Staglaitor Год назад

    Some experts say that visual programming is the future (nodes) because visually you can understand (cover) a more complex algorithm. Question to the author of the video: Can I use visual scripting in houdini without VEX and other obsolete programming methods at all or is houdini still dependent on old technologies and visual sciping is not yet fully developed and has limitations?

    • @fastlearner292
      @fastlearner292 Год назад +1

      Don't know what experts you are talking about, nooone of programming is "obsolete". Pretty insulting for you to say that. It is much much better for small scripts and such which isn't too complex and in that case it's much more easily understandable. In large and complex stuff it's not the most optimal way, lots of fundamental problems with it. I suppose you can mix both (which is what many people do) to have the best of both worlds. For your question, you can use VOPS which is just vex except with nodes. I think VOPS is pretty much fine for what it is, but again, none of that "you can visually understand a more complex algorithm" stuff, that only applies for people who aren't don't know code I suppose.

    • @Staglaitor
      @Staglaitor Год назад

      @@fastlearner292 If a prorammer see a name of function in alphabetical form - then they can't understand what is inside but if you represent the funbction-sence in the form of icon-node then you will understand more. Function-icon give more sense thah function-name. The visuals are more informative. Icon-designer can represent the whole paragraph of text just in one icon.

  • @Bletch505
    @Bletch505 Год назад

    grüsse aus der schweiz

  • @mono24
    @mono24 8 месяцев назад +1

    this is so vague and non-descriptive that you may as well just put a music track on top and let the timeline fly! If you really want to teach people the code/tool you've written, you should take them step by step through the process and explain what you are doing instead of skipping 99% of the explanation, which makes this video essentially useless and kind of honestly like a flex on others saying. "LOOK AT WHAT I DID". And that is very much 99% of what this industry has become.

    • @simonfiedler9118
      @simonfiedler9118 2 месяца назад

      Glad that you enjoyed my presentation. This event was a 30 minute timeslot to present my work. Unfortunately it's not possible to get in too deep in that short time or really teach programming stuff. But if you are interested in the first effect, 4:00 - 6:20 gives you introduction about what is happening and 6:00 - 12:00 guides you through the code, step by step, to make it work. At the live event, there was also Q&A afterwards and of course there were a lot of chats with the people after the presentation. No flexing here, just trying to help.

  • @renderdude5997
    @renderdude5997 6 лет назад

    cool