Video není dostupné.
Omlouváme se.

Dynamic Fence using Geometry Nodes (Blender Tutorial)

Sdílet
Vložit
  • čas přidán 17. 08. 2024
  • In this video, ‪@MartinKlekner‬ shows how to use Geometry Nodes to connect fence assets, make them adapt to the underlying terrain and dynamically change the size of the nearby assets. Let’s dive into the realm of GeoNodes!
    ⇨ Master 3D Environments course: bit.ly/b3d-env...
    ⇨ Project Files + Blender Shortcut PDF (email required): bit.ly/cgboost...
    ⇨ Blender Secrets E-book (affiliate): gumroad.com/a/...
    LINKS
    ⇨ Fence assets on Blendswap: www.blendswap....
    ⇨ AmbientCG (formerly CC0 Textures): ambientcg.com/
    CHAPTERS
    00:00 - Intro
    00:45 - One minute description
    01:49 - Fence Assets
    02:57 - Curve and Terrain base
    04:35 - Scattering Fence Pieces on Curve
    06:41 - Improving Dynamic Rotation
    08:51 - Controllers and Outputs
    10:20 - Distributing Points on Terrain
    12:54 - Dynamic Scale Based on Proximity
    16:36 - Outro
    MY SYSTEM
    CPU: Intel Core i7-7700K 4,2 Ghz
    GPU: GeForce GTX 1070 Ti
    RAM: 64 GB
    FOLLOW CG BOOST
    ⇨ Facebook: / cgboost
    ⇨ Twitter: / cgboost
    ⇨ Instagram: / cg_boost
    ⇨ Web: cgboost.com/
    #b3d #tutorial #geometrynodes

Komentáře • 97

  • @s1amvwbug
    @s1amvwbug Před 2 lety +6

    So, much information. I’ll have to watch this several times to get the hang of the nodes you created. Thank you for posting this video!

  • @binyaminbass
    @binyaminbass Před 2 lety +15

    Thank you Martin! This is a very important addition to your epic course!

  • @MultiTommytomtom
    @MultiTommytomtom Před 2 lety +16

    Thanks for this tutorial, I’ve been trying to put a curved wall on a landscape recently but just couldn’t get it to work, this method is perfect! :)

  • @scpk2246
    @scpk2246 Před 2 lety +9

    Hi CG Boost, you're obviously know what you're explaining - such a clear one! thank you!

  • @HelloHiHola
    @HelloHiHola Před 2 lety +2

    I believe this example will stand the test of time as GNs change; it's so eternal and easy to see how to apply to other scenes and covers a logical and wide scope of Nodes I never would have guessed existed. It makes GN less witchcraft and more like a tool for all.

  • @ashokp9260
    @ashokp9260 Před 2 lety +1

    The way you explain all steps and procedures is top-notch. Lucky that I found this channel. Thanks 🙏

  • @StanleyKubick1
    @StanleyKubick1 Před 2 lety

    I really appreciate that you explain why every step is done, not just how it's done.

  • @ryzhov_art
    @ryzhov_art Před 9 dny

    Amazing, thank you!

  • @paul-thys
    @paul-thys Před 8 měsíci

    Thanks for this!

  • @wrichards123
    @wrichards123 Před 2 lety

    Im still working through the master class and am constantly amazed.... thank you for all this, warped my skill set far ahead...

  • @touchstone1682
    @touchstone1682 Před 2 lety

    Thanks a lot for the one minute part. ID really like it if more people started doing that!

  • @Masha_B
    @Masha_B Před 2 lety +3

    Thanks, Martin, for this tutorial, it's really cool! ^^

  • @mopozuJIko
    @mopozuJIko Před rokem

    Have been looking for a way to make objects turn with the curve - thank you for a great explanation!

  • @joliecat5463
    @joliecat5463 Před 11 měsíci

    Thanks for the tutorial, for a beginner like me, it's great because I can follow every step.

  • @Salen0243
    @Salen0243 Před 2 lety +1

    Another great tutorial, thanks.

  • @fordgud4dall
    @fordgud4dall Před 2 lety

    Thank you for a well explained and clear tutorial

  • @farazshababi1
    @farazshababi1 Před 2 lety

    Thank you! Much needed tutorial!!

  • @blend3d302
    @blend3d302 Před 2 lety +1

    insane stuff Martin, very good 👏 I'm definitely gonna be try this 😁

  • @mrCetus
    @mrCetus Před 2 lety

    Note to others. Geometry nodes on nurbes path only works from blender3.0 onwards. Great tutorial btw!

  • @polynormal4038
    @polynormal4038 Před rokem

    Very nice!, thanks for sharing :)

  • @tiagopesce
    @tiagopesce Před 2 lety

    used that concept to arrange stonemasonry in a lowpoly house i'm drawing, really speed up the detailing processes since i just need nurb lines along the base walls

  • @MiguelRoque
    @MiguelRoque Před 2 lety +1

    Thanks., it's a great video but maybe you can use collection cursor offset insted origin point to instanciate fences

  • @shmuelisrl
    @shmuelisrl Před 2 lety

    thanks for the quick for people who know what they are doing

    • @cgboost
      @cgboost  Před 2 lety

      You're very welcome!
      ~ Daniel

  • @djebbarabderrahmene
    @djebbarabderrahmene Před 5 měsíci +1

    Why didn't you use the distance output of the geometry proximity ?

  • @reklem2
    @reklem2 Před 2 lety +5

    This is a cool technique. (btw, pet peeve, Euler is pronounced "oy-ler" not "ew-ler")

    • @MartinKlekner
      @MartinKlekner Před 2 lety

      Haha, thanks for the correction, Ill try better next time ;-)

  • @afjer
    @afjer Před 2 lety +2

    You could just resample with length since all your fence assets have approximately the same dimensions.

  • @judithdoppler2202
    @judithdoppler2202 Před 2 lety

    Perfect!

  • @user-zj5sk8hd9r
    @user-zj5sk8hd9r Před 4 měsíci

    Great Tutorial! I think the Link to "Fence assets on Blendswap" is wrong (leads to trees)

  • @frankreiser_recaremo
    @frankreiser_recaremo Před 2 lety

    I love it so much

    • @cgboost
      @cgboost  Před 2 lety

      We're glad :)
      ~ Daniel

  • @BlenderLowpoly
    @BlenderLowpoly Před 2 lety +1

    Greate Tutorial, but if I whant use different fences in one time and I chose what I need, I can do? for example Type 1, Type 2 Type 3 etc.?

    • @MartinKlekner
      @MartinKlekner Před 2 lety

      Definitely possible, but it would require to join in more fence collections into the network and play with their positioning 🙂

  • @chumcool
    @chumcool Před rokem +1

    When I check "reset children" my fence turns into a bunch of disproportioned crap. Any suggestions?

    • @chumcool
      @chumcool Před rokem +1

      It was a few things. It hadn't "APPLY" like I thought I did, and I missed the "Join" part.

  • @Bobsagit5
    @Bobsagit5 Před rokem

    Great tutorial is always Martin, thanks. When setting up the fence, is there any way to break the instance pattern? The example you set up has the same pieces 1-5 repeating in the same order. I imagine there is something you can plug in to the Instance Index input to add a bit of randomness?
    "Noise texture -> color ramp -> multiply by the number of objects -> instance index" seems to do something close to the desired effect.

    • @Random_YT007
      @Random_YT007 Před rokem

      Add a Random value node _> change type to integer -> min value =1 , max value = (total number of objects in your instance collection) -> instance index

  • @anshu56981
    @anshu56981 Před 2 lety

    I want to learn your courses but I can't understand English fully 😞😞

    • @cgboost
      @cgboost  Před 2 lety

      All our courses have English subtitles, maybe this helps a bit!?

  • @SaschQuasch
    @SaschQuasch Před 10 měsíci

    Low poly grass question... how faces do you use? I tried 8 looks good but performance lacks.

  • @waltage
    @waltage Před rokem

    how to do uniform density lawn??

  • @LuisRodriguez-gt9hx
    @LuisRodriguez-gt9hx Před 2 lety

    Hey Martin, I'm enjoying the 3D Environments course and starting thinking that it reminded me of a book called Deconstructing the Elements with 3D Studio Max. Any plans on doing a course where the different elements (fire, water, earth and wind) are used for different scenarios?

    • @MartinKlekner
      @MartinKlekner Před 2 lety

      Glad to hear that Luis! Cool idea :-) Currently Im thinking of different topics for my courses, but Ill keep this one in mind :-)

  • @MrGravicaper
    @MrGravicaper Před 2 lety +1

    Thank you very much for a great lesson. It was very interesting. Do you have any ideas on how to make the grass and leaves move in the wind?
    The Unreal Engine 4 does this with a shader. This makes it possible to do very large scenes. Would it be very costly in performance in Blender to move vegetation with nodes? Or maybe you know some other way?

    • @omghai2u
      @omghai2u Před 2 lety

      u could make particle system of very ismple grass, and bind the top vertex of the grass to a vertex group, and then apply a displacement modifier to that vertex group with a large noise clouds pattern

    • @MrGravicaper
      @MrGravicaper Před 2 lety

      @@omghai2u Thank you very much! I will try to do it according to your advice.

  • @mirohorvath
    @mirohorvath Před 2 lety +1

    It seems to work fine only in case terrain is flat-ish and curve straight-ish, right? I see gaps appearing as soon you edit curve or terrain.

    • @MartinKlekner
      @MartinKlekner Před 2 lety +1

      You just need to adjust the count of the fence pieces. However, in more extreme cases, yes, it works less reliably.

    • @mirohorvath
      @mirohorvath Před 2 lety +1

      @@MartinKlekner There's a way how to make each instance to skew based on underlying terrain, but I understand that it may be "too advanced" in case it's used to render a still image eventually in other words one can't see whole fence from various angles.

    • @MartinKlekner
      @MartinKlekner Před 2 lety +1

      @@mirohorvath Yeah, agreed 😊 I wanted a technique that would be possible to present in 15 minute tutorial. But there’s so much one can do with geonodes, my head keeps spinning every time I work with them 😅

    • @mirohorvath
      @mirohorvath Před 2 lety

      @@MartinKlekner Gotcha... yeah GN can be quite challenging, even head-aching sometimes 🤯

    • @mirohorvath
      @mirohorvath Před 2 lety

      @@MartinKlekner btw. I tried to contact you on twitter, but couldn't send you PM so I did on FB, it's about possible meet-up of "Geo-Noders" in Prague :)

  • @karthithedeveloper
    @karthithedeveloper Před rokem

    how to convert all into mesh and import it as fbx

  • @robertkerr4199
    @robertkerr4199 Před 8 měsíci

    Don't know what weird farm you grew up on but on my farm, the grass is taller at the fence line because animals don't like getting their faces stuck in a fence when they're trying to have lunch...

    • @cgboost
      @cgboost  Před 8 měsíci +1

      There are many weird farms on this beautiful globe (which only makes it more interesting :) )

  • @nebhoteproville
    @nebhoteproville Před 2 lety

    I have an issue about your grass generation : There are not enough grass patches around the fence and the further ones are too big. I'd prefer to have a nice grass field with less and smaller patches around the fence. How do i proceed?

  • @byLeyve
    @byLeyve Před 2 lety

    crazy

  • @simplemusic3311
    @simplemusic3311 Před rokem

    can you stretch the path so the fence is longer?

    • @MartinKlekner
      @MartinKlekner Před rokem

      Of course, just by playing with the underlying Bezier you can prolong however you like 🙂

  • @tj0vtj0v61
    @tj0vtj0v61 Před 2 lety

    Great Tutorial, but where did you get the grass?

    • @MartinKlekner
      @MartinKlekner Před 2 lety

      So many grass assets at Blendswap, some of the ones I use originated from there too.

  • @hamadhajri8582
    @hamadhajri8582 Před 2 lety

    Hey my man always, i would really want to know how to do the good lighting you make !

    • @cgboost
      @cgboost  Před 2 lety +2

      Lighting like this can be achieved very quickly and easily using an HDRI. Just plug it in as an Environment Texture in the world settings and it should work straight away! You can find lots of these for free at places like polyhaven.com/
      ~ Daniel

  • @sebastianosewolf2367
    @sebastianosewolf2367 Před 2 lety

    what confuses me a bit, when I add a nurbspath I don't have these arrows like on yours I work on 3.2 tested also on 3.1 but no difference

    • @OwlpawWarrior
      @OwlpawWarrior Před 2 lety +1

      You can turn the path on in overlays menu in edit mode for the curve. At the very bottom there is "normals" checkbox

  • @chumcool
    @chumcool Před rokem

    Now my fence is just grouped up. Followed to a T. The only thing I did different was I used my own fence collection.

  • @allan-zt8vd
    @allan-zt8vd Před 2 lety

    cool

  • @v_pryadchenko
    @v_pryadchenko Před 2 lety +1

    Why don't just use the `distance` output of a proximity node instead of doing vector math on position?

    • @xilo6830
      @xilo6830 Před rokem

      I was wondering the same thing. Using distance output gave me similar results so I didn't bother with the extra steps. Do the vector math nodes add anything?

  • @zy-blade
    @zy-blade Před 2 lety

    0:00 - "Hey there Fence" Kappa

  • @Smartroid
    @Smartroid Před 2 lety

    Where's the original tutorial? I can't find it nowhere

  • @robertYoutub
    @robertYoutub Před 2 lety +1

    Well, but scale is not the right thing to do with grass, maybe rather use it to choose items in a collection and also use it to use manipulate ground textures

    • @cgboost
      @cgboost  Před 2 lety

      Manipulating textures is more of a Shader Nodes situation but using the grass to drive that maniuplation is a good idea :)
      ~ Daniel

  • @GreenGnoblin
    @GreenGnoblin Před 2 lety

    would this work in unity as well?

    • @cgboost
      @cgboost  Před 2 lety

      Nope, geometry nodes can't be imported into the unity.
      ~Egon

    • @GreenGnoblin
      @GreenGnoblin Před 2 lety

      @@cgboost :(

  • @pride3252
    @pride3252 Před 2 lety

    у вас есть этот тутор на русском? если кто знает похожий скиньте пж

    • @cgboost
      @cgboost  Před 2 lety

      Наши курсы в настоящее время только на английском языке.
      ~ Daniel

  • @ed_halley
    @ed_halley Před 2 lety

    (I wish more people pronounced Euler correctly. It's "oil-er.")

  • @Canadianishere
    @Canadianishere Před 2 lety +1

    Euler is pronounced oy-ler, it's a Scottish name

    • @MartinKlekner
      @MartinKlekner Před 2 lety

      Cheers, thanks for the correction, Ill remember that 🙂

  • @yass_queeen_engery
    @yass_queeen_engery Před 2 lety

    Now animate it
    NO? I DON'T THINK SO

  • @lr4796
    @lr4796 Před 2 lety +1

    Doesn't work

  • @omghai2u
    @omghai2u Před 2 lety

    clicking a simple tutorial and it being 17 minutes long i am not going to watch im sorry

  • @MihaBevcStraxer
    @MihaBevcStraxer Před 2 lety

    Note to others. Geometry nodes on nurbes path only works from blender3.0 onwards. Great tutorial btw!