Blender Geometry Nodes - Morph Between Meshes

Поділитися
Вставка
  • Опубліковано 6 лип 2024
  • Quick tutorial to show you how to morph between two meshes in Blender 3.0 using geometry nodes.
    #blender #geo #nodes
  • Розваги

КОМЕНТАРІ • 122

  • @RobbieTilton
    @RobbieTilton  Рік тому +52

    for Blender 3.4 and above...use the SAMPLE INDEX node instead of the TRANSFER ATTRIBUTE node (they deleted transfer attribute node). Set SAMPLE INDEX node to Vector/Point and it will work just as the TRANSFER ATTRIBUTE shown in video

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

      LEGEND. Thank you for solving my problem :)

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

      Sample Nearest node also need to connect with Sample index's (in index dot) then only it's working.

    • @13thnotehifireviews7
      @13thnotehifireviews7 Рік тому +5

      @@YNT49 yes thank you it does work with when you plug an index node to the index slot of the sample index node. So anyone watching , if they are having difficulties, this still works in latest version of blender (march 23)

    • @olekstarasov
      @olekstarasov Рік тому +14

      Set Points from 'Distribute Points on Faces' to Geometry in 'Sample Index', then create 'Position' node and 'Index' node, connect them into Value and Index node of 'Sample Index'' and it will work.

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

      @@olekstarasov Legend

  • @m___motion5976
    @m___motion5976 2 роки тому +6

    As a beginner this is quite astonishing I'm more and more impressed by the day what blender can do. Love the nodes even tho at first they were intimidating they play such a great role

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

    Outstanding. Simply outstanding. Thank you.

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

    Awesome tutorial! Very easy to follow!

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

    Wow! You are a node ninja... I need to learn how to think like this but it's like trying to put a square peg in a round hole with a diagonal much greater than the diameter. Thank you for the excellent tutorial!

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

    Very good and interesting video i have never thought that this could be done with blender.
    Thanks for the video dude.😊

  • @alirezasaliani5165
    @alirezasaliani5165 2 роки тому +2

    Thank you so much for making this video.

  • @MahmoudMohamed-dj9wd
    @MahmoudMohamed-dj9wd 2 роки тому +1

    great job it helped me with my project thank you

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

    great tutorial, thank you!!! just subd - have to binge them all :P

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

    really cool, thanks !

  • @medafan53
    @medafan53 Рік тому +7

    Quick note, if you are using a collection input instead of direct mesh, use a realize instance node first

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

    Maaaannnnn!!!! This is crazy...you opened a grateful of oppurrinities

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

    Banger tutorial! Just subbed

  • @user-ey1ip1ee6b
    @user-ey1ip1ee6b 2 роки тому +2

    Hey! Great video! Do you know any way on how to use geometry nodes to interconnect these dots together? Like for example you have every dot connected to closest 3-4 with nice blooming curve/cylinders?

  • @xexodus3196
    @xexodus3196 Місяць тому

    Greetings, thank you for your time for sharing this valuable information 💯

  • @Kim-uu8fc
    @Kim-uu8fc Рік тому

    Thank you! Works well on Blender 3.5 with the amended changes in the comments.

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

    Hello, first thanks for this wonderful tutorial. I want to add this one more step but I couldn't do it. After the outcome which is in the video, I want it to turn into original mesh. (in this case default suzanne head) Maybe duplicated objects can extend and come together to seem like one mesh. It would be so good if it's possible, thanks a lot.

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

    amazing tutorial, and how to give a little bit random animation to the particles during the transition and after the transition, thank you so much!

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

      you can use a math node to add a noise node and keyframe the intensity of that noise so at the beginning and end of the animation there is no noise.

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

    You're a hero

  • @SmashtoonGamer
    @SmashtoonGamer 17 годин тому

    Ty

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

    Brillant 🎉 thanks Sir;)

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

    Great video and nice use of capture attribute..You could also use the mesh primitive node 'icosphere' to keep it more procedural.

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

      Doesn't adding materials and stuff to it become harder then?

  • @chicao.do.blender
    @chicao.do.blender Рік тому

    i loved this, very elegant to mix between the transfer/sampled attribute's positions with the mix node. I wonder if this solution came up intuitively and if you could give any insight on that process. please and thank you

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

      with shader programming you often store position in the rgb channels of a float3 or float4 so the mix node comes naturally based on that practice.

  • @zen-xp4uo
    @zen-xp4uo 2 роки тому

    GREAT VIDEO

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

    thank youuuu i loveeee youuuuuu

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

    Super

  •  2 роки тому

    TOP VIDEO !

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

    Good afternoon. Thank you so much for the lesson. From what he himself encountered. I took two objects and a project that was done to the wound and did not go. One object was added well and the second one was not in any. Okay, there's only a test and just typed two words, then the morphing went fine.

  • @bhris001
    @bhris001 2 роки тому +5

    Is it possible to do this with full objects that have textures instead of a point cloud ? Like two human characters for example

    • @004307ec
      @004307ec 2 роки тому +2

      it is possible if the geometry of two meshes are the same (vertices, edges and faces keep their original relationship) then you can use vector displacement in texture shader or use geometry nodes to do that. If you use two separately created mesh with different topology, then I guess you should use a program to determine which point moved to where and generate a 3d vector field and use displacement or keyframe to achieve that. In many cases, "smooth" transition is mathematically impossible (see topology related topics, an example is transforming a donut to a sphere, but visually you can do it just fine)

  • @user-vb5du4mh6q
    @user-vb5du4mh6q 4 місяці тому

    Great video!
    However I am trying to implement this with a point cloud I have imported into blender and it doesn't work. I guess the data structure of the imported point cloud is the problem. Any suggestion on how to solve this?

  • @xexodus3196
    @xexodus3196 Місяць тому

    Can this method be used on objects like clothing e.g a shirt mesh

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

    Great video!, sorry if the question is to silly but, how do you animate it?

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

      press i when mouse is hovered over any input and you can insert a keyframe.

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

    Can you change material using geometry nodes at the same time?

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

    I dont know how you figured this out but thank you. I went nuts looking for bloom then I saw you were using eevee not cycles.

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

      thanks boss. fyi - you can also get bloom in cycles by using the compositor's glare node. for cycles it's not realtime in viewport until the next version on blender.

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

    In 3.2 the Transfer Attribute node has Source input instead of Target. Don’t know if it makes a difference but now the Mix node only moves the object position instead of morphing.

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

      in 3.3 everything works perfectly as shown on the tutor

    • @13thnotehifireviews7
      @13thnotehifireviews7 Рік тому

      That’s what I’m getting too, so tutorial no longer works. I’m moving the slider which just moves the position of one shape until it’s roughly the same size as the particle shape you set for the simulation. Is there a way around this. I’m using blender 3.4.1

  • @13thnotehifireviews7
    @13thnotehifireviews7 Рік тому

    Thanks for the video. How would you do it so you could change the shape of the particle to a sphere? Many thanks for any help,

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

      you can press shift + a in nodegraph and instance UV Sphere

    • @13thnotehifireviews7
      @13thnotehifireviews7 Рік тому

      I did it exactly like your tutorial but the mix rgb is different and the sample index is maybe different. I can pay if you can help.

    • @13thnotehifireviews7
      @13thnotehifireviews7 Рік тому

      @@RobbieTilton and I can’t get the same result

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

      @@13thnotehifireviews7 check pinned comment that says how to use sample index node

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

    I have a question. I want the particles to move btw two sets of coordinates while morphing, how is that achieved?

    • @RobbieTilton
      @RobbieTilton  2 роки тому +6

      in 'object info' node set to [relative] instead of [original]. then it'll move between the position of the suzanne mesh and sphere mesh.

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

    when creating this tree my output is that the geo connected to the sample index turns into a single point, or just looks like it does and doesnt merge from on shape to the other, any tips?

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

      weird... havent seen that before. Check my pinned comment in case ur in a newer version of blender. or share your file in my discord 'help' section.

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

    Is it possible to animate object and then do morphing,for example a flying drone morphe to plane or anything link that

    • @RobbieTilton
      @RobbieTilton  2 роки тому +2

      interesting question. If you want solid objects to morph you can use the volume to mesh node in blender3.2. If i have time to try it myeslf I will make a new video for it.

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

    Thank you!
    It was interesting!
    I wonder how people get to know which node to chose and how to connect them.
    Can they do that because they know python?
    Could you also transit the color?
    Could you tell me what node and where to place?

    • @RobbieTilton
      @RobbieTilton  2 роки тому +2

      i've coded for 10 years so i use a lot of that thought process to help figure out which nodes to use.
      You could easily transition the colors. You can just keyframe the color in the material shader graph to match the keyframes in your geo node. graph

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

      @@RobbieTilton Thank you for your answer!
      > keyframe the color in the material shader graph to match the keyframes in your geo node. graph
      So, ... I should use... shader node???
      Or can I just keyframe on the Principal BSDF in the material property window?

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

      @@daysmiscellaneous9569 u can keyframe the Principal BSDF in the material property window

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

      @@RobbieTilton Thank you! Í'll try!

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

    As soon as I connect the output from the Sample Index node to the position property of the Set Position node, I don't see the points of Suzanne being distributed.

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

      feel free to share ur file on my discord 'help' channel

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

    Thank you for this amazing tuto!
    There is just one thing I don't understand maybe someone could explain this to me, it's the "position" node. I just don't understand how it work, like when we put the position node in one entry of the MixRGB and the transfert attribute in the other, how do each position node take it's infos?
    Hope I'm understandable haha thank you!

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

      by default 'position' node will refer to each vertex position in the geometry. It essentially runs the same operation onto each vertex (separately) all at the same time. We use the transfer attribute node to store each vertex position of a different geometry. So then we are able to mix the vertex positions of the default with the vertex position of the stored. It is indeed a hard concept to wrap your head around because the same node 'position' can do several different things based on where its plugged in via node graph and if other nodes are intercepting it.

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

      @@RobbieTilton Ok, I think I understand better this, thank you! One point that was really disturbing to me was to know how the position node selected the "default geometry" but by making some try I think I understood that it's the geometry directly linked to the group output.
      I'm new to geometry nodes and the technic used here is not something I would have spontaneously thought haha but I guess I need more experience to get it.
      Anyway thank you for all!

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

      @@lpzmxiv136 no prob! yah - to make it more confusing sometimes position can refer to the entire objects position rather than the vertex's.... all based on the nodes that come before and after it... maybe one day they'll make it easier to understand

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

      @@RobbieTilton Geometry nodes are a really weird place 😂😅

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

    What if I want to go from solid mesh to particles on same object ? Any tips ?

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

      interesting question... at some point i think you'd need to do a crossfade, but you could perhaps have a really high particle count to help make it less noticable

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

    good tutorial... btw...ico sphere pronounce: ay cos sphere

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

    using blender 3.4, transfer attribute got removed, and idk which node to use to replace it

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

      for 3.4 - you can use the SAMPLE INDEX node instead. Set it to Vector/Point and it will work just as before.

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

    How did you select the particle without deselecting the Nodes object at 4:34?

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

      I 'pinned' the geo nodes window. See 0:37. Pinning keeps the window up even when its not the active object.

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

      @@RobbieTilton ooh, didn't know that. Thank you!

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

    Transfer attribute node is missing in blender 3.6.................... Plz... help

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

    I was not able to achieve this in Blender 3.4 ): not even using sample index. It goes from one shape to just a point );

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

      follow the steps again in detail and it will work. every time someone has the issue you're mentioning - they ended up miss-connecting a node.

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

    How to turn that into a loop?

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

      just keyframe the Mix node by hovering over the 'frac' number and pressing 'i' or you can right click insert keyframe.

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

    how do you add keyframes to transition from one to another?

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

      hover over the value you want to keyframe with your mouse cursor and press 'i' on the keyboard

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

      @@RobbieTilton do you mean from the mix rgb? im a beginner and little bit lost..and what keyframe should i put?location or rotation or something?

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

      @@metacoder4912 yes - hover your mouse over the value field in mix rgb node and press 'i'. that will create a keyframe wherever you are in your timeline

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

      ​@@RobbieTilton thanks a lot i figured it out now

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

    Does this work with one of the meshes rigged, skinned, and with a skeleton?

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

      just tested. it indeed does work

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

      @@RobbieTilton Hmm, so I must be doing something wrong. I've tried to transfer a MetaHuman head modified on Zbrush to the same MetaHuman head without new sculpting (I'm still using UE4). Everything is squashed. I'll try to follow step by step and see what I did wrong. Thank you for checking it out!

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

      @@Amelia_PC hmm... i havent dealt with metahuman heads but maybe it's the scale that it comes into blender. try pressing cntrl+A to normalize the scale to 1,1,1

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

      @@RobbieTilton I think the scale is right. I've been modifying Metahumans heads sculpting them on Blender and using the scale 0.01. Never had any problem with it until now. I'm sure the scale is right in Zbrush to Blender as well. But I forgot to mention I'm using the latest NVidia Omniverse Blender version. I'm not sure if it's relevant, though.

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

      @@Amelia_PC u can send me ur file in the 'help' section of my discord. i'm still suspicious of the scale being the root of the issue. sculpting at .01 scale isn't a problem, but when you're instancing points of a non-normalized scaled mesh it could get wonky.

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

    how is this better than using shape keys?

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

      shape keys would require each mesh to have the same vertex count

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

    How can i morph between 3+ objects?

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

      add another Mix node

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

      @@RobbieTilton colour mix node are only 2 values. Is there a node I can use with 3+ values and slide between these?

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

      @@jamesxxxyz8775 you can use 2 mix nodes to mix 3 meshes. one mixing the first 2 meshs. and another mixing the previous mix node result and the 3rd mesh

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

      @@RobbieTilton This is not happening will you please elaborate this please. or make a video on that please

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

      @@muzaffarhussain6183 I've posted a blender file that mixes 3 meshes using this technique to my discord 'help' section

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

    I can not find transfer attribute in list

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

      see my pinned comment

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

      sample index node is not similar in terms of work transfer attrebute .. I hope to make a new video to clarify the work .. with many thanks

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

    Im lost in how to animate this

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

      insert keyframe. hover and press [i] on keyboard

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

    Why wouldn't you show how to animate this. The key frames aren't going anything

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

      what do u mean? the keyframes is how you animate it