Foreach Loops in Houdini for Beginners

  Рет қаралды 27,091

bubblepins

bubblepins

4 жыл бұрын

In this video, I demonstrate how to create an unique model using just the foreach node. I compare how the for loop in coding VS foreach node in Houdini.
Download Houdini File & Javascript code:
bubblepins.com/blog/loops-in-...
SideFX Documentation for Loops:
www.sidefx.com/docs/houdini/m...
#houdini
#sidefx

Пікірлер: 101
@Cazaq
@Cazaq 3 жыл бұрын
You are by far one of the best Houdini teachers on KZbin. Everything is thoroughly and calmly (not frantically like with most spazzy Houdini artists) explained and easy to follow along with.
@bubblepins
@bubblepins 3 жыл бұрын
Thanks for the awesome comment!
@gtrzdaddy
@gtrzdaddy 4 жыл бұрын
Whoa~ by far the most easy to understand Houdini tutorial ever!
@PauloCesarDuarte
@PauloCesarDuarte 4 жыл бұрын
Very helpful, thanks. Waiting for more videos...
@quoiquedon7002
@quoiquedon7002 2 жыл бұрын
Thank you very much! This is the most comprehensive tutorial on "for each loop" I've ever found.
@bubblepins
@bubblepins 2 жыл бұрын
Thanks for watching! I'm going to make another "feedback foreach loop" coming soon! Stay tuned!
@anroidanicver6783
@anroidanicver6783 Жыл бұрын
This is so well thought out and well talked through, best Houdini tutorial I’ve seen yet.
@bubblepins
@bubblepins Жыл бұрын
Thanks so much!
@mjparent222
@mjparent222 4 жыл бұрын
I really appreciate your detailed explanations. Thank you.
@bubblepins
@bubblepins 4 жыл бұрын
Thanks for all the awesome comments! I'm really glad you're enjoying all the videos!
@alexchiang8593
@alexchiang8593 3 жыл бұрын
Ik this video is two years old but thank you so much for doing this. My current 3D prof is boring as sin and is explaining all of this in a very confusing way. You keep things simple and you enlarged the node window so I can actually see what's going on. Great Job!
@bubblepins
@bubblepins 3 жыл бұрын
Thanks! Yeah I made the node window larger on purpose, you are the first to notice that! I figured people would want to see the nodes more than the 3D viewport, because it's a tutorial and everyone watching probably wants to recreate the nodes. Thanks for the awesome comment!
@Stenjus
@Stenjus 4 жыл бұрын
The way you going over it makes this really easy :) Thank you
@bubblepins
@bubblepins 4 жыл бұрын
Thanks for watching!
@RonnieMirands
@RonnieMirands 3 жыл бұрын
Wow! A lot of people need this: Houdini concepts made simple. Like you did. Thanks and Congrats!
@bubblepins
@bubblepins 3 жыл бұрын
Thanks so much for the awesome comment!
@Smoluck
@Smoluck 2 жыл бұрын
Really great and Polished Tutorial Bubble Pins. Thanks
@bubblepins
@bubblepins 2 жыл бұрын
THanks!
@maurypb
@maurypb 2 жыл бұрын
This is very helpful in demystifying the settings of "feedback" vs "merge". Thanks!
@bubblepins
@bubblepins 2 жыл бұрын
Thanks! I've been planning to create a new video on more details on the feedback foreach loop and how to use it for procedural modeling. Hopefully that'll be released soon!
@pankajswani3d
@pankajswani3d Жыл бұрын
This is the best way to teach a beginner, while watching I had confusions and she explained it in very next seconds. Loved it.
@bubblepins
@bubblepins Жыл бұрын
Thanks! You'll love the for loops in Houdini, it comes in handy for procedural modeling so much!
@quinnzhou8730
@quinnzhou8730 Жыл бұрын
This is the most clear tutorial for foreach loop! Thanks so much!
@bubblepins
@bubblepins Жыл бұрын
Thanks for watching!
@letrang2183
@letrang2183 4 жыл бұрын
Im crying watching this at night, tricky thing but you make it easier to understand, thanks
@bubblepins
@bubblepins 4 жыл бұрын
Thanks for watching!
@felipe_ai
@felipe_ai 4 жыл бұрын
Love your videos!!!
@serialvision
@serialvision 2 ай бұрын
Great tutorial! thanks for sharing
@bubblepins
@bubblepins 2 ай бұрын
Thanks for watching!
@squantrill
@squantrill 4 жыл бұрын
Yep these for loops are tricky little monkeys to grasp at first. This has really helped me. thank you.
@bubblepins
@bubblepins 4 жыл бұрын
Thanks for watching!
@aeko
@aeko 3 жыл бұрын
7:00 - Every time you do this merge with Fetch Feedback you're duplicating the input. So it goes exponential which is why Houdini runs out of memory. Each iteration: 2 boxes, 4 boxes, 8 , 16, 32, 64, etc.
@SnutiHQ
@SnutiHQ 3 жыл бұрын
Thank you for spoon feeding me this for loop, really takes a bit of time to sink in, when you are used to coding! 😅 👍
@bubblepins
@bubblepins 3 жыл бұрын
I agree! In coding it seems like it's so different, but once you get over that hoop, you'll realize it's the same but with visual nodes.
@awesomeguitarshorts
@awesomeguitarshorts Жыл бұрын
Great Tut !!! Thanks a lot !!!
@bubblepins
@bubblepins Жыл бұрын
Thanks for watching!
@artadecram_9624
@artadecram_9624 Ай бұрын
Very detailed!!! Cool!!!! I need more!!! :)
@bubblepins
@bubblepins Ай бұрын
Thanks!
@vahidkani4197
@vahidkani4197 17 күн бұрын
Thanks for the video.
@ll6a6
@ll6a6 2 жыл бұрын
Best Explain ever. Thank you.
@bubblepins
@bubblepins 2 жыл бұрын
Thanks for the comment!!
@StriderSeiryuu
@StriderSeiryuu 3 жыл бұрын
whahh i finally understand this node thanks a lots
@bubblepins
@bubblepins 3 жыл бұрын
Thanks for watching!
@alexandraternovskaya1460
@alexandraternovskaya1460 2 жыл бұрын
Thank you for your video! Now I understand something
@bubblepins
@bubblepins 2 жыл бұрын
Thanks for watching! I'm working on another tutorial about Feedback Foreach Loops, hopefully I can get that out soon.
@OnkAnCa64
@OnkAnCa64 4 жыл бұрын
A really big thanks, after few days, to cry with thoses loops, Victory!
@bubblepins
@bubblepins 4 жыл бұрын
Awesome!
@OnkAnCa64
@OnkAnCa64 4 жыл бұрын
@@bubblepins, everything is clearly explained, I hope that will the same for your other videos ^^ have a nice week end
@bubblepins
@bubblepins 4 жыл бұрын
@@OnkAnCa64 Thanks! Stay tuned for a Mantra tutorial Part 1 video that should be released tonight... I just have a couple of last things to edit
@OnkAnCa64
@OnkAnCa64 4 жыл бұрын
@@bubblepins, for sure even if I work for the game industry, it's always interesting to learn something. About game, if you have some times to make a deeper video on creating hda, thanks in advance ^^
@MrJayVFX
@MrJayVFX 3 жыл бұрын
This is a pretty good tutorial. I came to learn and I did. However, I recommend you write down/organize your thoughts and/or re-record certain sections if you need to. The part where you were explaining the merge each iteration vs feedback each iteration, it was completely jumbled and you ended up having to re-explain things because of unexpected results, like when the first cube was NOT copied because your merge was taking the iteration before the translation.. Everything made sense, but it was quite messy. BUT.. I thank you. I did learn more about for-each stuff.
@L..24
@L..24 2 жыл бұрын
wow you are so good at this
@bubblepins
@bubblepins 2 жыл бұрын
Thanks!
@kasali2739
@kasali2739 4 жыл бұрын
super explanation
@FeatherandtheWind
@FeatherandtheWind 4 жыл бұрын
Really enjoy your tutorials. Thank you. I hope you make more. I have a question... What's the point of the output null node in this project?
@bubblepins
@bubblepins 4 жыл бұрын
Thanks for watching! The output null nodes are just for organization, because as the projects get bigger, its good practice to put null nodes to indicate what the networks. The name "OUT_" helps find the output nodes later when you need to link the networks and makes it easier to find it in a list because the nodes are usually listed alphabetically.
@psychedlicavfx6646
@psychedlicavfx6646 4 жыл бұрын
@@bubblepins another possible use of nulls is to have them act as the "OFF" node with the Switch SOP :)
@bubblepins
@bubblepins 4 жыл бұрын
@@psychedlicavfx6646 Yeah good point! When you got like a dozen of things to toggle on and off, it comes in super handy!
@alexanderkingkwame241
@alexanderkingkwame241 2 жыл бұрын
This was really helpful, God bless ya, love ya
@bubblepins
@bubblepins 2 жыл бұрын
Thanks!
@alexanderkingkwame241
@alexanderkingkwame241 2 жыл бұрын
@@bubblepins n also try n check ur inbox @instagram, I sent a message
@bubblepins
@bubblepins 2 жыл бұрын
@@alexanderkingkwame241 I don't think I got your message. And I didn't know IG has a message box! Double check if you have the right alias, there's another bubblepins on IG. My IG is: instagram.com/bubble_pins/ with an underscore.
@Arne1998
@Arne1998 3 жыл бұрын
thanks!
@nihatozdemir445
@nihatozdemir445 4 жыл бұрын
thanks you
@kourage94
@kourage94 4 жыл бұрын
I was using this foreach loops correctly already, but I have the feeling I will use it even more correctly now lol
@bubblepins
@bubblepins 4 жыл бұрын
It's all good as long as it works!
@kourage94
@kourage94 4 жыл бұрын
@@bubblepins Your way to explain is great =), it's really entertaining. I'm learning VEX at the moment and it would be so good to get some kind of tutorial like that about "pcopen", "pcfind", get an attribute from another point etc... of course it's just an idea ^^. Thank you
@bubblepins
@bubblepins 4 жыл бұрын
@@kourage94 Yeah definitely I want to dive into VEX and hopefully soon get into CVEX for Houdini. Just building it all up. Right now I'm finishing up one last video on RBD Tools Guided Sim then pyro, then I am going to fulfil one of the requests that I got about explaining a chipping cube animation I did before and there's a camera tracking. And then I think I got most of the basics of Houdini covered to prep me for VEX. Long list ... But will get there soon. Stay tuned!
@raneemFX
@raneemFX 3 жыл бұрын
Best 👌
@bubblepins
@bubblepins 3 жыл бұрын
Thanks!
@KarelChytilArt
@KarelChytilArt Жыл бұрын
Thank you
@bubblepins
@bubblepins Жыл бұрын
Thanks for watching!
@user-vs9sl2nz8h
@user-vs9sl2nz8h Жыл бұрын
you saved my life
@bubblepins
@bubblepins Жыл бұрын
@fernandacavenaghi5918
@fernandacavenaghi5918 3 жыл бұрын
thank youuuuuuuu :D
@bubblepins
@bubblepins 3 жыл бұрын
:)
@ananan4469
@ananan4469 4 жыл бұрын
I came as soon as the alarm went off :)
@bubblepins
@bubblepins 4 жыл бұрын
Thank you! Best fan ever!
@ertar0
@ertar0 2 жыл бұрын
thank you
@bubblepins
@bubblepins 2 жыл бұрын
Thanks for watching!
@emepicuta3899
@emepicuta3899 4 жыл бұрын
Hello again! Has ever happened to you that when doing this "for each loop" with booleans substracting spheres from other objects, with over 1000 instances in 6 or 7 meshes, somehow those meshes start appearing hollow? Like if there was so much to calculate that it empties some meshes by mistake or smth. Do you know if there is a solution?
@bubblepins
@bubblepins 4 жыл бұрын
I don't recall hollowing spheres happening to me, but I remember that Houdini crashed on me several times when I ran the scene too long for more instances and more meshes, due to the growing polygon count as it cooks forward. In my case where HOudini kept crashing, I believe it was because I ran out of memory and couldn't handle the large polygon count. You can try converting the polygon to a vdb and replace the boolean with a vdbcombine and do a vdb union or vdb subtract. See if that will help? This helped me because vdb's are more memory efficient, but I don't know if it'll help with your hollowing spheres. Let me know how it turns out!
@aeko
@aeko 3 жыл бұрын
7:00 - Because every time you do this merge with Fetch Feedback you're duplicating the input. So it goes exponential which is why Houdini runs out of memory. Each iteration: 2 boxes, 4 boxes, 8 , 16, 32, 64, etc.
@bearstudios101
@bearstudios101 4 жыл бұрын
How did you add the block begin node into the for each connected piece. I'm struggling to get that
@bubblepins
@bubblepins 4 жыл бұрын
It should be dropped down automatically when you choose for each number, but you can also manually drop down a "block begin" node from the Tab menu and then hook up the newly "block begin" node with the foreach group by selecting the foreach group just like how its shown at 23:47 in the video.
@bearstudios101
@bearstudios101 4 жыл бұрын
Thanks alot. Whatever they are paying you it's not enough.
@dannys_85
@dannys_85 Жыл бұрын
thanks great video perfect explanation, i have some object in houdini and for each of this object i want to store the size of object in array but without lack i do merge each iteration but i am getting just first iteration of the size multiple times can you help?
@bubblepins
@bubblepins Жыл бұрын
I believe you want a feedback foreach loop. To my understanding you want to feed in the same object into the foreach loop multiple times applying the block stuff again and again in an array of some sort? A feedback foreach loop will take the result of 1 iteration and feed it into the next iteration until the foreach loop is done. I did a mini-series on feedback foreach loops: kzbin.info/aero/PLqovuMX-teVNe0lstXx1XEYuoS3FnR3Gh Hope this helps!
4 жыл бұрын
OOHHAAAAA how many tutorial Videos I had seen in my life like Pluralsight Gnomon and others but.. believe me I just opened my mouth while I am watching this tutorial it is so amazing explaining like illusion thank you so so so much int thanks; for(int i=0; i
@bubblepins
@bubblepins 4 жыл бұрын
Thank you for the gracious comment! int urWelcome = 0; for( int j=0; j
@user-xjcltmddn
@user-xjcltmddn 4 жыл бұрын
Can you make grains tutorial?
@bubblepins
@bubblepins 4 жыл бұрын
I'll add it to the list, but it's a very long list... May take awhile before I get on it.
@Iknoursiingh
@Iknoursiingh 4 жыл бұрын
what is meta data node for??
@bubblepins
@bubblepins 4 жыл бұрын
The meta data node is for the attributes in the details that the foreach loop creates. It has values for the iteration number available if you need to use that within the foreach block. Hope that helps.
@armantalee9359
@armantalee9359 3 жыл бұрын
It has been a year since this tutorial was released but i still cant find thoes 2 upcoming videos( 26:24)
@bubblepins
@bubblepins 3 жыл бұрын
It's right here: kzbin.info/www/bejne/qHixpXqhqr-XqaM It's titled, "SOP Solver for Beginners in Houdini" Hope that helps!
@videocmevideocme5675
@videocmevideocme5675 4 жыл бұрын
I think adding a merge node with feedback each iteration will NOT do the same as changing the for-each to merge each iteration. You will have more than one cube in the same position, the way you showed when four cubes looked like three. Taking out the merge node and changing the for-each to merge each iteration does not give overlapping cubes.
@JelezoNah
@JelezoNah 4 жыл бұрын
This voice is too good for such boring things.
@bubblepins
@bubblepins 4 жыл бұрын
You're too kind!
@dynamo2014
@dynamo2014 3 жыл бұрын
finally you havent 10 spheres 10 times on each cube. Check it. You have 10 iterations on all your cubes
@aeko
@aeko 3 жыл бұрын
7:55 - Sorry, but this is not correct. You can compare the difference between having a merge in your For-Loop and the isolated result of Merge Iteration if you pack your geo before the loop. The number of Prims in the geo spreadsheet is drastically different. Merge each iteration will create 4 prims for 4 iterations, meaning each iteration result is isolated and merged. Feedback Each Iteration with a Merge in it the way you have it will create 16. prims and it will go exponential. If you want to keep the first object, then you should merge in the initial geo after/outside the for loop.
Houdini - Ответ - Блоки Foreach
8:44
Houdini по-русски
Рет қаралды 10 М.
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 5 МЛН
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 50 МЛН
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 5 МЛН
СНЕЖКИ ЛЕТОМ?? #shorts
00:30
Паша Осадчий
Рет қаралды 7 МЛН
Five Steps to Learning Houdini Quickly
17:41
Indie-Pixel
Рет қаралды 129 М.
Tutorial 12. Copy Stamping and the Foreach Loop
1:17:38
houdinikitchen
Рет қаралды 10 М.
Houdini In Five Minutes 09: For-Loops & Extrusions
7:33
Entagma
Рет қаралды 44 М.
Make Your Own Houdini HDAs
13:43
mrbennelson
Рет қаралды 10 М.
Maya Pro Tries 3D Modeling in Blender
43:52
JL Mussi
Рет қаралды 140 М.
For Each Loop - Houdini Vex - CG Forge
6:46
CG Forge
Рет қаралды 12 М.
Houdini Basics - Copy stamp and for each
13:04
Rohan Dalvi
Рет қаралды 11 М.
AI "Stop Button" Problem - Computerphile
20:00
Computerphile
Рет қаралды 1,3 МЛН
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 5 МЛН