Houdini Vex - Neighbours/Nearpoints | S1EP6

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ค. 2024
  • S1EP6 - Neighbours/Nearpoints
    Welcome to S1EP6 of this Houdini Vex Series.
    Neighbours and Nearpoints are two seperate functions, that return arrays of points. The main difference between both is, that Neighbour will return a pointnumber of the closest connected point of the input point. Connected in this case by an edge. Nearpoint will return a pointnumber of the closest point in space. So Connectivity (based on connected points) and Proximity (based on nearess in space).
    Timecodes
    0:00 - Definition
    1:03 - Writing Arrays
    1:38 - 1. Example - Nearpoint
    2:49 - 2. Example - Nearpoints
    5:22 - 3. Example - Neighbours
    Subscribe here to join me on my adventure:
    / fabianstrube
    Follow me:
    Website: strube-digital.com
    Tools: app.gumroad.com/fabianstrube
  • ภาพยนตร์และแอนิเมชัน

ความคิดเห็น • 8

  • @behrampatel4872
    @behrampatel4872 2 หลายเดือนก่อน

    The NN & NP examples are the best I've seen explained in such a short time. Cheers man

  • @kwesikwaa
    @kwesikwaa 10 หลายเดือนก่อน

    best explanation ive seen sofar. thanks chief

  • @dhanushs5013
    @dhanushs5013 ปีที่แล้ว

    In the nearpoints example, inside solver why are we adding int pt variable? I'm new to VEX. Can you please explain all the lines in that expression only? Many Thanks!

  • @maximilianstuhlen5132
    @maximilianstuhlen5132 ปีที่แล้ว

    great tutorial! short and on point! also great examples. thanks a lot for this

  • @piccolosamathegodofdestruc373
    @piccolosamathegodofdestruc373 5 หลายเดือนก่อน +1

    As a beginner I dont understand a single thing, no VEX, no assigning, no attributes, no modelling, no simulation, its so confusing. Been trying to learn Houdini for one year as a Cinema 4D and Autodesk artist.

  • @tilakrajgolari1577
    @tilakrajgolari1577 ปีที่แล้ว +2

    In the Last Neighbours example.
    May I know the reason/explanation of this 2 line's?
    float weight=fit(color,ncolor,1,0,1);
    /////////////////////////////
    append(dir,ndir*weight);
    This is what i am thinking.The ndir*weight is done so that direction follows the weight.
    And weight is representing the gradient.
    Hopefully it is true.
    Thank you ,sir.

    • @FabianStrube
      @FabianStrube  ปีที่แล้ว +2

      Overall:
      If you have your current point color and calculate the difference to each neighbour color, this is the weight.
      Now multiply each direction (the neighbour point is from our current point) so we get stronger directions towards the points we have a higher weight value.
      Specific lines:
      1. Creates a weight value for each neighbour point by the difference between neighbour point color to the current point color. // We need to get a weight for each point in this case is the weight, the difference between color of the neighbour and color of the current point.
      2. appends the direction vector value to the dir array, each multiplied with the neighbours weight. //Multiply a vector to makes it longer or shorter
      Hope that helps!

    • @tilakrajgolari1577
      @tilakrajgolari1577 ปีที่แล้ว

      @@FabianStrube Thankyou for your Time.