How To Make Roads with Splines and PCG in Unreal Engine 5

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

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

  • @FutureIndustriesOfficial
    @FutureIndustriesOfficial 7 วันที่ผ่านมา

    Handy trick to make the spline automatically deform the landscape automatically, non-destructively.
    Create a new sculpt layer (called it road for example), right click on it and select "reserve for spline".

  • @aerospacenews
    @aerospacenews 13 วันที่ผ่านมา +1

    🌟 Another lucid, clear and helpful Unreal Engine tutorial @azielarts - thank you for producing these!

  • @MisterPlougy
    @MisterPlougy 14 วันที่ผ่านมา

    Another very nice tutorial!
    I have been watching all of your PCG videos recently and they helped me a lot so thank you!
    Concerning the landscape splines, i personnaly like to use them alongside with a runtime virtual texture assigned in the detail panel.
    It's handy because then you don't need to struggle with placing each points perfectly since the landscape spline will be projected into your landscape directly, matching its curves and slopes a bit like a decal would.

  • @kurtissebring349
    @kurtissebring349 13 วันที่ผ่านมา

    Dude, your stuff is AAA quality. Thanks!

  • @titoo1980
    @titoo1980 14 วันที่ผ่านมา

    Good one . but since you are working with PCG i think one spline is enough for all road component and it keeps your work Fully procedural .

  • @AlexHutchingsOfficial
    @AlexHutchingsOfficial 12 วันที่ผ่านมา +1

    Thanks for the video. For some reason my pcg graph has no effect on my landscape splines. The white boxes don't show up when pressing 'd' on the spline sampler. I've watched that part of the video several times to make sure everything is exactly the same

  • @AnecProductions
    @AnecProductions 14 วันที่ผ่านมา

    Thanks for the super cool video! I was super overwhelmed by this feature, but this video helped me digest it and understand it more. Thanks a lot for sharing

  • @imdb6942
    @imdb6942 13 วันที่ผ่านมา

    Thank you, would be awesome if you showed how to correct the up Vector on those street lamps, currently they follow the tangent of the curve, so they look like they're falling in some cases where the road bends.

    • @azielarts
      @azielarts  13 วันที่ผ่านมา +1

      Ah great question. It is a little more complicated, but you will need to separate the points and only apply absolute rotation to the x and y axis.

    • @imdb6942
      @imdb6942 13 วันที่ผ่านมา

      @@azielarts That worked, there's a lot more modifier features in regular actor Blueprint vs. PCG. Regular BP contains set forward Axis and etc.

  • @SNAPMOVIE
    @SNAPMOVIE 14 วันที่ผ่านมา +1

    your mic so good for i hearing bro

    • @azielarts
      @azielarts  14 วันที่ผ่านมา

      Glad to hear 👍

  • @wayne9954
    @wayne9954 14 วันที่ผ่านมา

    Thank you PCG KING!

  • @JosephWraith
    @JosephWraith 14 วันที่ผ่านมา +1

    Awesome! Thanks for sharing!!

    • @azielarts
      @azielarts  14 วันที่ผ่านมา

      No problem, hope it is helpful.

  • @alankky2008
    @alankky2008 12 วันที่ผ่านมา

    You are genius

  • @ryanisanart
    @ryanisanart 14 วันที่ผ่านมา +1

    Not sure if you mention this but have you found a way to do intersections?

    • @mclothmann
      @mclothmann 14 วันที่ผ่านมา

      Yes this is totally possible, but it’s much more advanced than this. I’d recommend watching the advanced PCG video from Unreal Fest, they go over a lot of ways to filter data and it should cover most of the fundamentals to get this to work

  • @besogogebashvili8212
    @besogogebashvili8212 13 วันที่ผ่านมา

    SUPEER THANK YOU VERY MUCH

  • @АнастасияКолосок-г5ш
    @АнастасияКолосок-г5ш 10 วันที่ผ่านมา +1

    For some reason my pcg graph is not affecting my landscape splines. The white squares don't appear when you press the “d” button in the spline sampler. Could you please advise what the problem could be?

    • @azielarts
      @azielarts  9 วันที่ผ่านมา

      Hmm it could be a bunch of different issues. Here are some things to check.
      1) PCG volume overlaps with the landscape and spline.
      2) you are not still in the landscape editing mode.
      3) check your get data node settings are correct
      4) hit cleanup and then generate on the PCG graph in your level again
      5) try opening the level again.
      6) sometime you do actually get points, but they are too small to see. Try spawning something and see if that works.
      Hope that helps

    • @nokeomiga
      @nokeomiga 2 วันที่ผ่านมา

      Same problem here. Maybe because we use UE5.5? I try old the things to check that Aziel saids but nothing. The debug tool works because with GetLandscapeDta and SurfaceSample i get cubes in debug.

    • @АнастасияКолосок-г5ш
      @АнастасияКолосок-г5ш 2 วันที่ผ่านมา +1

      @@nokeomiga yes the problem is in version 5.5. In version 5.4 everything works fine

    • @nokeomiga
      @nokeomiga 2 วันที่ผ่านมา

      @@АнастасияКолосок-г5ш Thanks!

  • @maschinelab8598
    @maschinelab8598 14 วันที่ผ่านมา

    Why didn't you add a new spline mesh to the array in the original spline and use center adjust to send it to the side? I'm genuinely curious of the reasoning. Thank you

    • @maschinelab8598
      @maschinelab8598 14 วันที่ผ่านมา

      Also, i think streetlamps are always, or almost always, vertical. You should check absolute rotation in the Transform Points nodes. Cheers