Blender Python Tutorial: How to Use Geometry Nodes to Split and Animate Mesh Faces

Sdílet
Vložit
  • čas přidán 2. 04. 2023
  • This is the second video in a step-by-step Blender Python tutorial series, where you'll discover how to use geometry nodes and Python scripting to create a basic mesh animation. Learn how to separate mesh faces into groups with the Separate Geo Node, seamlessly animate their scale with the Scale Elements Geo Node, and join everything together with the Join Geo Node.
    Initial Code
    github.com/CGArtPython/blende...
    Final Code
    github.com/CGArtPython/blende...
    Geo Nodes Python documentation
    docs.blender.org/api/current/...
    Function Node Python documentation
    docs.blender.org/api/current/...
    #blender #python #scripting #tutorial #geometrynodes

Komentáře • 19

  • @hanumanatee
    @hanumanatee Před 6 měsíci

    It's great how you give enough info up-front and as you're going along to let us pause the video and see if we can guess how to do the next step, and get a little serotonin rush when we get it right. Very generous teaching style, and I appreciate your not-shouting delivery.

    • @CGPython
      @CGPython  Před 6 měsíci

      Thank you for the feedback! ❤️‍🔥
      I love to know what works and what does not!

  •  Před rokem

    Well done. Amazing content!

  • @powersprouter
    @powersprouter Před rokem

    Hi VIctor - My appreciation and enjoyment of all your tutorials continues! Haven't finished them all but getting there. One subject has me currently stumped: I'm trying to get greater control of the timeline playhead - I want to be able to start and stop it on various events and all I can find online in the blender API docs and on bulletin boards etc. is advice to use handlers and callbacks. I am having little success with this so far (and fwiw I have tried using chatGPT many times and it keeps getting it wrong too!). Is this is something that would be of interest to you and your audience too? Did I miss a video in which you already covered it? Of course you are very busy and have a long list of topics to cover already - Thank you for considering.

    • @powersprouter
      @powersprouter Před rokem

      HA!!! I got my handler code working just now. HA HA HA!!!! YES!!! Isn't that the way it always goes - just when you are giving up and capitulate to asking for help, things all of a sudden come together. Well, anyway, if this is a topic you think would make for a good video I'd definitely still be interested. Thanks again for all your help.

    • @CGPython
      @CGPython  Před rokem

      @@powersprouter Nice! 💪
      Great job! :high five: 🖐
      I haven't done a video for that yet.
      Are you creating a handler callback that triggers when you reach a specific frame?

    • @powersprouter
      @powersprouter Před rokem

      @@CGPython I have tried twice to reply "Yes!" but CZcams keeps removing my comments - I think because I mention the obvious place where I released my first open source add-on(?) Is the algorithm interpreting my messages as spam/self promotion? Anyway my handler code is now live at my first Github repository, I'm so stoked. I really just wanted to thank you again Victor!! And I have my second add-on almost completed - it is much more interesting and more thoughtfully scripted. Yay! The best is yet to come. :D Happy Saturday.

    • @CGPython
      @CGPython  Před rokem

      ​@@powersprouter Yeah, I think the CZcams comment algorithm deletes comments with links. 🫤
      That is so cool!
      What is your github user name? is it just powersprouter ?
      I think I found it - "playOnce" right?

    • @powersprouter
      @powersprouter Před rokem

      @@CGPython yes. 🤗 pretty simple but actually a feature i have wanted since i started with blender a year and a half ago. Haven't figured out how to modify the operator called by the default play button in the blender timeline header region tho (is that even possible?)

  • @luxor9339
    @luxor9339 Před rokem

    Hi Victor, I have some questions:
    1. How do I create a Group (Ctrl + G ) in a Geometry Node network?
    2. Is there's a way to create a Group then add existing nodes into it ?
    Thank you.

    • @CGPython
      @CGPython  Před rokem +1

      Thanks for the question
      I will need to create a video on this topic!

  • @YONS71
    @YONS71 Před rokem

    It would be interesting if you do scripting boxcutter addon tutorial

  • @brunodemasi381
    @brunodemasi381 Před rokem

    What is the advantage of using a visual script over a pure script? You don't risk creating something very complex

    • @CGPython
      @CGPython  Před rokem +3

      and you don't need to know Python 😊

  • @dolmenbretagne9060
    @dolmenbretagne9060 Před rokem

    Awesome tutorial as always! THANKS ! just a note: I redid a tutorial in French on shaders and geometry nodes by applying what you taught me. I quote you as a reference at the end. If you want to see: czcams.com/video/AY4ay5Zs360/video.html

    • @CGPython
      @CGPython  Před rokem

      Oh wow! That is cool
      Thanks :)