Random Seed-Value CAN-DO! (Blender Tutorial)

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

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

  • @dongiovanni1993
    @dongiovanni1993 10 หลายเดือนก่อน +1

    Fortunately, blender has its python API inside. So, you always can open the text editor, put there something like:
    import bpy
    # Replace "MyNodeGroupName" with the actual one, and run the script.
    bpy.data.node_groups["MyNodeGroupName"].inputs.new("NodeSocketInt", "I am an Integer!")
    then hit , and call it a day. ;-) But ensure that you're in blender ver >= 2.91 (in my 2.76b this crashes the whole thing). Also you can play with other int types like ("NodeSocketIntFactor", "NodeSocketIntPercentage", "NodeSocketIntUnsigned") if you wish.

    • @nrdkraft
      @nrdkraft  10 หลายเดือนก่อน

      Ooh, that’s a good tip to keep in mind! I’m going to pin your comment so others can find it useful. I need to get more comfortable with Python and scripting myself.😁

    • @dongiovanni1993
      @dongiovanni1993 10 หลายเดือนก่อน +1

      @@nrdkraft That's why open software rules. If there is no necessary button to press, we just create it, then press it. :-)

    • @nrdkraft
      @nrdkraft  10 หลายเดือนก่อน

      @@dongiovanni1993 Exactly! And chances might be someone else made that button that we can download if it’s something others want too. Just one of the many perks of open source!😁

  • @linolafettatnet
    @linolafettatnet 10 หลายเดือนก่อน

    You can see the effort you put into the tutorials.
    I have learned a trick or two again, cool!
    Good luck on your youtube journey, its rewarding!

    • @nrdkraft
      @nrdkraft  10 หลายเดือนก่อน +1

      Thanks so much! Making videos is more work than I wish it was sometimes, but it’s great when others find value in it!
      And thank you! I’m hoping for the best.😊

  • @activemotionpictures
    @activemotionpictures 11 หลายเดือนก่อน +1

    Thank you for sharing these videos and also the thought process behind it. Instant subscribed.

    • @nrdkraft
      @nrdkraft  11 หลายเดือนก่อน

      My pleasure! And thank you for the sub!!😊

  • @humbleraider6343
    @humbleraider6343 2 หลายเดือนก่อน

    Thank you for sharing this.

    • @nrdkraft
      @nrdkraft  2 หลายเดือนก่อน +1

      @@humbleraider6343 You’re welcome!

  • @wadeeliason969
    @wadeeliason969 11 หลายเดือนก่อน +1

    Could you use a math node and use the round function not sure if it will work

    • @nrdkraft
      @nrdkraft  11 หลายเดือนก่อน +1

      Indeed! That would merely be internal workings tho. On the outside the node would still show a value that uses increments of tenths (or hundredths while holding Shift), which would result in nothing happening as you click the little arrows on the sides of the value until the number reaches the amount it’s being rounded by. In which case it would make more sense user-experience-wise to leave it as is. Turning it into a real integer value as seen from the outside is also merely an aesthetic choice but it’s also easy enough to do.😁

    • @wadeeliason969
      @wadeeliason969 11 หลายเดือนก่อน +1

      @@nrdkraft that makes sense

  • @ashasekayi
    @ashasekayi 11 หลายเดือนก่อน +1

    Great tip! Thanks for sharing.

    • @nrdkraft
      @nrdkraft  11 หลายเดือนก่อน

      You bet! I’ll be showing how to put a bit more into this node in the livestream tentatively this Friday☺️

    • @ashasekayi
      @ashasekayi 11 หลายเดือนก่อน

      @@nrdkraft That's awesome. :D I hope to catch it.

    • @nrdkraft
      @nrdkraft  11 หลายเดือนก่อน

      @@ashasekayi I hope you do too!😁

  • @Vital_Struj
    @Vital_Struj 6 หลายเดือนก่อน +1

    Where have you gone? Are there any plans for future?

    • @nrdkraft
      @nrdkraft  6 หลายเดือนก่อน

      Thanks for asking! Actually I’ve just gone and come from the Blender Conference!

    • @Vital_Struj
      @Vital_Struj 6 หลายเดือนก่อน

      @@nrdkraft Great!

  • @JohnWesleyDavison
    @JohnWesleyDavison 11 หลายเดือนก่อน +1

    Hope I'm able to catch the live stream.

    • @nrdkraft
      @nrdkraft  11 หลายเดือนก่อน

      I hope you are too! I’m going to aim for this Friday evening (U.S.)

  • @IvoKlerk
    @IvoKlerk 11 หลายเดือนก่อน

    You can just press N while in your shader nodes and in the panel change the input type to integer right?

    • @nrdkraft
      @nrdkraft  11 หลายเดือนก่อน

      I’m hoping it will be that easy soon. But in the version of Blender I am currently using, Integer isn’t one of the options available when creating a new group input. So for now we have to make due with a certain work-around

    • @IvoKlerk
      @IvoKlerk 11 หลายเดือนก่อน +1

      @@nrdkraft Isn’t this what you’re looking for: i.stack.imgur.com/brfCL.png ?

    • @nrdkraft
      @nrdkraft  11 หลายเดือนก่อน

      Yes precisely. If I am correct however, it looks like that screenshot is looking at the inputs of a group in Geometry Nodes. Geometry nodes indeed already supports easily adding an integer input. Not so for Shader Nodes yet tho. But maybe soon!

    • @MikeSierraFox
      @MikeSierraFox 2 หลายเดือนก่อน +1

      @@nrdkraft Not sure if it's a 4.2 update, but it's definitely possible to do with shader nodes now. Just grouped a noise texture, put scale into the group input as an example - Group Socket -> Scale -> Type -> Integer. Works like a charm.

    • @nrdkraft
      @nrdkraft  2 หลายเดือนก่อน

      @@MikeSierraFox You are right! I believe it is an update that came with 4.2. Also available is Boolean which shows up as a check box! That ought to be really handy for Group nodes!

  • @light2937
    @light2937 4 หลายเดือนก่อน

    Man, use the GPU along with the CPU!