Integrating a Road into a Heightfield - Houdini Tutorial

Поділитися
Вставка
  • Опубліковано 4 жов 2024

КОМЕНТАРІ • 21

  • @pragmaticvfx
    @pragmaticvfx 2 роки тому +3

    This is awesome Konstantin!

  • @RMAFIRE
    @RMAFIRE Рік тому +1

    Incredible !! 😎✌

  • @vano2vano
    @vano2vano 2 роки тому

    Amazing as always

  • @tronotrond
    @tronotrond 2 роки тому +1

    Thank you! A very clear and to the point tutorial. Keep it up!

  • @Geometrynode
    @Geometrynode 2 місяці тому +1

    Really cool stuff! is this technique able to work with a curve instead of a circle?

  • @OnkAnCa64
    @OnkAnCa64 2 роки тому

    Great, thanks

  • @RaytraceRat
    @RaytraceRat 2 роки тому

    Great tutorial. It does work, althought I can't fully say I know why it works :D

  • @rogersk1599
    @rogersk1599 Рік тому

    Amaizing, please could we get a tutorial on projecting houses(building volumes) on a slope?

  • @brukusbrukus
    @brukusbrukus Рік тому +1

    Hi, Konstantin.
    Thanks for the great job, very useful!!
    I´m trying to modulate the min and max width with a ramp (based on the curveu attr from the curve), with no results.
    Any hints?
    Thanks!!

  • @desocrate
    @desocrate 2 роки тому

    Great content, love it - how would you take this further and include the cuts, fills and maximum and minimum slope angles for the roads?

  • @liakim1572
    @liakim1572 Рік тому +1

    Hello, great video! Is there a way to extract the curve that shaped the "road"? I blasted the masked points (to only extract the road) to then try to get a curve... it works, but not that well and I wonder if there is somehow, maybe via wrangle to extract the curve that shapes the road (basically 'end1' node but with the correct P.y).

    • @KonstantinMagnus
      @KonstantinMagnus  Рік тому +1

      Hi Lia, you could add an attribute wrangle with v@P.y = f@height; either before or after the attribblur1-node.

  • @JohnDowson100
    @JohnDowson100 2 роки тому

    Solid gold man. 2 Questions for you. 1: would it be possible to add a subtle noise in the smooth function to the road width? So to have a path that looks slightly more organic. Question 2: would it be possible to detect when the road is going through a mountain too steep and place a tunnel or deflect the road?

    • @KonstantinMagnus
      @KonstantinMagnus  2 роки тому +1

      Thank you!
      Q1: You could globally add noise to the max value before the smooth function:
      width_max += noise(v@P * 0.1) * 40;
      or transfer and add some attribute you have prepared on your curves:
      float deform_crv = primuv(1, 'deform', prim, uvw);
      Q2: You could increase the heightfield a few meters to make room for a tunnel when exceeding a certain slope. Tunnels themselves are not possible on a 2D heightfield.
      Also all this more advanced things such as tunnels, bridges, crossings need lots of thought and preparation steps and possibly would not be done right in a single volume wrangle.

    • @JohnDowson100
      @JohnDowson100 2 роки тому

      @@KonstantinMagnus oh yes of course. I meant faking just the entrance of a tunnel :)

  • @laihinchun
    @laihinchun Рік тому

    Thanks for the tutorial, it's very useful ! I wonder is it possible to conform the other way, for example I have a road that is close to the shape of the landscape, and I want the landscape to conform to the closest points of the road?

    • @KonstantinMagnus
      @KonstantinMagnus  Рік тому

      Hi Toni,
      yes sure, you can use functions such as xyzdist(), primuv() and smooth() in volume wrangles, as well.

  • @Пересвет-у6д
    @Пересвет-у6д Рік тому

    Hi Konstantin! Do you know is it possible to reverse the process - in case I've created an interesting road spline and wanna fit a heightfield to it?

    • @KonstantinMagnus
      @KonstantinMagnus  Рік тому

      Hi user...,
      making a height field flow through points or curves is possible with multivariate interpolation:
      procegen.konstantinmagnus.de/multivariate-interpolation
      My Houdini friend @adrianpan9211 contributed a suitable python/numpy script writing directly into the heightfield.

    • @Пересвет-у6д
      @Пересвет-у6д Рік тому

      @@KonstantinMagnus Thank you for the answer! 🙏 It seems that it's what I need