PCG Splines - Unreal 5.2 Tutorial - Part 2

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

КОМЕНТАРІ • 82

  • @troypinkerton9876
    @troypinkerton9876 10 місяців тому +19

    FYI, if anyone is having trouble with the "get spline data" node not picking up any world actors with the tag you assigned to the spline... make sure you tagged the blueprint at the top level, not the spline component within the blueprint. Mentioning it on behalf of a friend who totally doesn't know what he is doing with unreal yet 😏🤥

  • @huqingqiu5955
    @huqingqiu5955 Рік тому +5

    How to make those points on landscape?

  • @Park3D
    @Park3D Рік тому +4

    Apologies if this is a stupid question but is there a way to get the points to stick to landscape surface? Don't worry I found it: "Projection" node using landscape as input.

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

      Could you please explain more about this? I have a same problem....

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

      @@rubiru7 This is where I found the fix: ua-cam.com/video/TWjqci4nbO4/v-deo.html - (7min approx)

    •  Рік тому

      thank you man you saved my day from searching into google

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

    With not so much info on this new tool this is really helpful, thanks for sharing. Subscribed

  • @DezorianGuy
    @DezorianGuy Рік тому +5

    How to create spline points?
    One way: Look out for a point on the cursor, click it then holding down the "Alt" key while dragging a point or RMB on last point and "dublicate". But there must be a better way...someone?

  • @tenzinlundberg8039
    @tenzinlundberg8039 Рік тому +3

    Are there any tutorials / information on placing based on specific landscape textures? amazing tutorial btw

    • @awakenwithoutcoffee
      @awakenwithoutcoffee Рік тому +2

      Im pretty sure you can sample the landscape layers and use those to drive the mask but I admit I haven't found a node that could do this. Lets drop our info here if one of us finds it cause its a great suggestion!
      *EDIT* lucky for us the OP talks about it in Chapter 9 of this very series so keep on going :)

  • @KADstudioArchitect
    @KADstudioArchitect 4 місяці тому

    I have a unrelated question, how you do select and move whole spline when it was a point selected before that? thank you.

  • @Josh_Alfaro
    @Josh_Alfaro 4 місяці тому

    Is there a way to transform a PCG instance, like a rock with moss into one mesh in order to use it in the static mesh spawner? I know we can spawn assemblies as levels but those take a long time to make since we have to place each mesh individually to combine. With a PCG instance, we can just spawn meshes on other meshes using the mesh sampler node. The PCG stamp method can’t be spawned in a PCG graph either. Are you familiar with what I’m talking about?

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

    It appears that you can't use Copy Points when using multiple splines ( or Points in general from the same tagged Actor ) and sampling them. Anyone know a workaround to this?

  • @johanparada
    @johanparada 3 місяці тому

    Nice work man ty

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

    really good, you deserve more subs keep doing this, thanks

  • @henriqueaparecidogomidesso2095
    @henriqueaparecidogomidesso2095 5 місяців тому

    Why cant my spline get pass from the PCG_Spline Box ?

  • @georges_3dtutorials
    @georges_3dtutorials 26 днів тому

    does the spline PCG sample give / explanied take the static mesh spawner node ? cause whenever I am adding the static mesh spawner after difference I can't seem to get it to show while debuging

  • @aryanmaurya7759
    @aryanmaurya7759 Рік тому +3

    I am facing an Warning when I added new Get Spline Data and selected actor filter to All world Actors. Please help me

    • @qhhuetran
      @qhhuetran 11 місяців тому

      Did you already create the blueprint with the tag (and then add blueprint and pcg splinegraph into the scene) when hitting save on the PCG Graph my warning message disappeared.

  • @taylors1545
    @taylors1545 8 місяців тому

    2:50 I don't have that 'Generate' button. Looks like I needed to add a PCG component, but when I did that 'generate' button does nothing.

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

    excellent tutorial my friend.

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

    grate start on PCG thank u alot

  • @Lazarosinep
    @Lazarosinep 8 місяців тому

    Can I do this somehow using the same blueprint? Can it somehow subtract one another without taking into account itself?

  • @ThongNguyen-xj5eb
    @ThongNguyen-xj5eb Рік тому +1

    Is there any way to make those cube spawn more randomized? They look really evenly distributed

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

      Yeah you can just change the offset min and max values on the transform points node the same way as was done in part 1. That'll scatter them randomly whilst still respecting the difference node

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

    Is there a way to actually drive the scale of points with the density attribute?

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

    Hello, great tutorial! I'm strongly to make spline align terrain height, in your tutorial terrain is flat, but what if i want to use spline forest on different height levels?

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

      Hi, connect landscape height from input into projection node(projection target), and link diffrence to "In" Input in it.

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

    is the "Spline Visualisation Width" pure for visualisation purpose or does it actually widen the spline ? if not, how do we increase the width of the spline ?

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

    So is there a way to use pcg in runtime, so update paramters and have things "animate"? So maybe trees scale down if a sphere is close?

  • @rifat.ahammed
    @rifat.ahammed 2 місяці тому

    thanks

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

    Expect the stable version to be packaged like roadrunner.

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

    the spline sampler doesn't generate any points, any clue why this might be? Redone the tut step by step a few times but no luck, also tried messing with some settings.
    In tut 3 "Cull Points Outside Volume" fixed a similar issue, not sure what the problem is here

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

      I was having the same issue, 2 possible fixes were making sure the "BP_OurSpline" was inside the "PCG_Spline" volume. Also double check you are hitting compile in the "BP_OurSpline", not just save.

    • @abeblue
      @abeblue 10 місяців тому

      pcg volume ? wtf @@PurgexofLore

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

    very usefull :D thanks a lot!!!

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

    Amazing❤️

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

    the spline sampler doesn't generate any points, any clue why this might be? Redone the tut step by step a few times but no luck, help me pls :)

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

      When it comes to the path spline, make sure your spline sampler is setup to "on spline" not "on interior". That should fix it

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

      @@soloexperience4237 I'm sure I have spline turned on but it still doesn't work

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

      I was having the same issue, 2 fixes were making sure the "BP_OurSpline" was inside the "PCG_Spline" volume. Also double check you are hitting compile in the "BP_OurSpline", not just save.

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

      This happened to me. 1:36-1:40. You have to add the spline to bp. Not sure if you missed that, but i sure did at first.

  • @Lv7-L30N
    @Lv7-L30N Рік тому

    gracias

  • @jbach
    @jbach 6 місяців тому

    Thanks for this! When trying to achieve a consistent falloff width also suggest setting Source and Target Shape to Center.
    ua-cam.com/video/zp1pvaZraGM/v-deo.html

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

    Thank u for sharing this

  • @IamSH1VA
    @IamSH1VA Рік тому +6

    Omg, this is great tutorial. Best PCG tutorials on UA-cam. Thanks 🙏

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

    Trying to add a spline road crashes my editor 100 times out of 100 :P alittle bit frustrating

  • @rebx5891
    @rebx5891 2 місяці тому

    Great Tutorial - I'm running into a bit of an issue, however, that I can't figure out (I'm using 5.4.3) - When using the Difference node as indicated around 12:30, it seems to be subtracting the zero-density (IE: area around the edge) of the closed-loop area spline. I used a remap from 0-1 to 0.1-1 before plugging into the difference source input, seemed to help - but still removing bits around the edge of the closed spline. Checking the 'Keep Zero Density' in the Difference doesn't help as it will retain both the zero density around the closed loop and what's been removed from the path (now at zero density). Ultimately, I'm ending up with a bit of a different result from what you are showing - and seems to be related to density handling. Any thoughts? EDIT: Ahh - I think I figured out my mistake, with the Distance node I needed to have the shape set to 'Center'. Seems to have solved it.

  • @lv9735
    @lv9735 Рік тому +3

    Great tutorial. Thanks for sharing such valuable knowledge

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

    Thank you so much for letting us know about "Union". I was about to pull my hair out trying to figure out why I could only use a single spline.

  • @douglasstevens2667
    @douglasstevens2667 5 місяців тому

    Great stuff, but is there a way to just press a button and get an end result, this nerd crap is going to be obsolete in 2 years due to AI?

  • @curtisnewton895
    @curtisnewton895 8 місяців тому

    yeah well it does not project onto the landscape so fucking useless

  • @RobertBarton-m4c
    @RobertBarton-m4c 5 днів тому

    Glover Light

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

    this tutorial serieis is a life saver, keep up the great work!

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

    Greeting, I would like to ask a question. how could I add another smaller gradient along the path at the same time, for example I would like to have smaller plants grow along the both sides of the path. I tried using a new Distance node, take the old Distance node as a source, the path spline sampler as the Target. at the end it overlaps the forest edge gradient. 🙏🙏🙏

  • @diaopuesto7082
    @diaopuesto7082 Рік тому +2

    Your tutorial is the best! Subscribed!

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

    thanx for tutorial! I have a question, even tho i followed each step, suddenly my spline sapmler (on interior) start to say I closed as u did in tut and there are 4 points

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

      Solved. UPD it says 4 points but need 5 minimum

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

    Any idea how to filter out points on a spline by how curvy it is? I'm making a road and I want to put arrow signs along the road, but only at the turns, not the straightaways. I need to filter out all the points where the road is straight.

    • @TomBradford-sg3mw
      @TomBradford-sg3mw Рік тому +1

      Not sure if you're still looking into this, but just on a hunch i'd say you may be able to do this within the blueprint of your spline using a few for loops? Throw them into an array, sample the first, then the second spline point and (im not sure how) with some math, figure out the angle difference of the two spline points and use this to either delete the points, or potentially recreate those points as individual splines - from there use the "adjusted" spline with a different tag to spawn your signs.

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

    the Path doesnt update or extend and it looks exactly like how yours is set up... Plus it doesnt remove any trees either.

    • @wraith8572
      @wraith8572 11 місяців тому

      I am having this exact problem. I have redone the entire thing, step by step, 5 times now and the points are never removed when intersecting.

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

    i can't get "Get spline data" node? pls help fast!

    • @Oi-uq4qo
      @Oi-uq4qo 10 місяців тому

      me too

    • @1magenative382
      @1magenative382 9 місяців тому

      Strangely, I had the same problem on unreal engine 5.1. when I switched to 5.3, everything worked. it seems that the plugin on 5.1 does not work correctly or something like that

  • @FPChris
    @FPChris 5 місяців тому

    Excellent

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

    subscribed! :)

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

    wow nice, Thank you

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

    subscribed! Thanks

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

    I don't understand, how to combine it with actual static mesh spawner?

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

      Well, I actually just figured it out by trial and error. I just used "intersection" node to combine trees spawner part with spline part from this video.

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

    Great video.

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

    On your demo the river deform landscape, how did you achieve that? Thnx in advance.

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

      It's part of the Unreal Water system :)
      docs.unrealengine.com/5.1/en-US/water-system-in-unreal-engine/

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

      @@FreetimeCoder Yeah, I saw in breakdown video. I have watched all your PCG tut series and it helped me a lot. Still there are things left to figure it out comparing to GDC show.

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

    Excellent work!