Houdini - Procedural Modeling Tips! - Radial Sort

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ค. 2021
  • Lets kick off the procedural modeling tips series by learning how to perform a radial sort given a set of points. This is extremely useful when creating procedural modes for things like road intersections. We will start off by learning how to do the radial sort in Houdini, then take a look at a practical example of the radial sort being used in a road network system.
    Find more tutorials and course like this at the Indie-Pixel patreon page: / indiepixel

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

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

    well there is a node called "curve from edge" which may really help this situation without sort manually :)

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

    Thank You very much!

  • @ThiagoLaranjeiraZerooneBit
    @ThiagoLaranjeiraZerooneBit 3 ปีที่แล้ว +1

    it just saved my life!
    thx kenny u da best

  • @donovanbaine8842
    @donovanbaine8842 3 ปีที่แล้ว

    indeed i love it thanx alot

  • @workflowinmind
    @workflowinmind 3 ปีที่แล้ว

    I enjoyed

  • @omarhidoussi1557
    @omarhidoussi1557 3 ปีที่แล้ว +1

    thanks man you're allway"s the best ... i wanna ask you about when you are going to release the car physics course

    • @IndiePixel3D
      @IndiePixel3D  3 ปีที่แล้ว +1

      I have been slowly developing it on my patreon page. So you can find the first half there currently. Im hoping to have it done within the next 2 months. Then I will post it up on Udemy and other platforms. Thanks!

  • @Heijyouxin
    @Heijyouxin 3 ปีที่แล้ว

    Thank you for your brief and great explain about radial sort, May I have a basic question, like the P5[0.5, 0.0, 0.866025],and the opposite pointP7[-0.5, 0.0, -0.866025],why their arctan2(x/z) value are not the same? It confusing me for a while..

  • @ashwinsasi9991
    @ashwinsasi9991 3 ปีที่แล้ว +4

    in vop
    (geometryvop global ) P
    to connect
    (vector to float )
    to connect
    (arc tangent)
    (vector to float ) to ( arc tangent connecting is
    fval 1 to x
    fval 3 to y
    the result connect to
    (Bind Export node) should be name the attribute ( sortval ) and type is ( float )

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

      Ahh thanks. I though I had to get the centroid subtracting the bbox min and max so subtract again from the original position and then use the atan node. It is even simple

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

      @@pavinivfx Nope. Add min and max after that divide on 2 then you get center. And by the way, you get more nodes than if you write code in VEX. 3 lines versus 8 nodes.

  • @madmodder
    @madmodder 8 หลายเดือนก่อน

    What happens if the circle is at an arbitrary angle? and what if you wanted to offset the start point? I know offsetting the start point could be done easily with a sort node, but it'dbe cool to figure out how to do it in vex.

  • @hugobelfio1911
    @hugobelfio1911 ปีที่แล้ว +4

    vector center = getbbox_center(0);
    vector dir = normalize(@P - center);
    f@sortval = atan2(dir.x, dir.z);

  • @feigao9446
    @feigao9446 3 ปีที่แล้ว

    kenny yyds(永远的神)!!when will u realease the road system tutorial? will it be noticed in youtube? patreon 's price for the turtor will be the best?

  • @fiubnl4990
    @fiubnl4990 2 ปีที่แล้ว

    Can someone explain the atan2? Its a nice tip and all but there is absolutely zero explanation on why he is doing what he is doing

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

    At 02:25 - can't you just do the following?
    @N = normalize(@P);