At 16:58, I think (didn't checked it to confirm) you can create a block begin for your for each loop, set it to "Input" and then you can read attributes. Rules is that each colored nodes groups need to be enclosed, you cannot have wires crossing a color
Yes, you are right. You can add multiple begin nodes for loops and feed data through them. In this case you would need to have 3 begin blocks (two inputs and one metadata). Not in this video, but there also is a tricky case if you need your loop to run N times on some data - because you can't reference parameters outside the loop, there is no way to specify N in the end node with expression. One way to solve it is just to generate N points before the loop and loop over points, but then have separate begin input node for your actual data/geometry you want to process.
29:30 Can you still use the Invoke Block for compile blocks with uncompilable/unsupported nodes if you disable 'Enable Compiling'? I am trying but I haven't yet found an unsupported node. Have been searching for a list of supported/unsupported nodes. 😆 Thanks for the tutorial.
@@RenderEverything Just found out we can't, unfortunately. I tried with the PolyWire. The 'Enable Compiling' parameter doesn't translate into the 'Invoke Compile Block'. Made a post about it on the SideFX forum.
@@RenderEverything Yeah I think it won't be a problem for me. You can work around many things as you say in the vid. Just wanted to know if this could also function as a the idea of a kindof 'Invoke Subnet' or 'Invoke HDA' SOP. Asked for an alternative way to do that in the forum, may I need it in the future. (topic/80764/?page=1#post-347339)
Forši, kaut ko jaunu uzzināju :) nav nedaudz par sarežģītu setups ? Man prāta nāk ka polygon subdivaidot un vidējo punktu pabīdīt uz leju randoma un rezultāts varētu būt līdzīgs.
Nu šistas setups korekti strādā, ja punkti ir ļoti atšķirīgos augstumos - tad lejā nav vidējais punkts, bet tuvāk zemākajam punktam. i.imgur.com/FmdECIB.jpg Protams, var jau visu aptuveni uztaisīt lai tikai izskatās labi. Šeit uzsvars vairāk uz pašiem Compiled Blocks un tie kabeļi tik tā - kaut kad pašam bija interesanti researčot kā to korekti izdarīt priekš viena projekta.
Thank you very much for 16:54, this is what I have been racking my brains for for several days!
Wow, I loved this tutorial. It’s the first time I’ve come across compile nodes. Thanks for sharing this knowledge! Looking forward to more!
BTW you can create another begin block for your loop block to access something from outside
Great vid, thanks so much for it!
At 16:58, I think (didn't checked it to confirm) you can create a block begin for your for each loop, set it to "Input" and then you can read attributes. Rules is that each colored nodes groups need to be enclosed, you cannot have wires crossing a color
Yes, you are right. You can add multiple begin nodes for loops and feed data through them. In this case you would need to have 3 begin blocks (two inputs and one metadata).
Not in this video, but there also is a tricky case if you need your loop to run N times on some data - because you can't reference parameters outside the loop, there is no way to specify N in the end node with expression. One way to solve it is just to generate N points before the loop and loop over points, but then have separate begin input node for your actual data/geometry you want to process.
Thanks sir!!
29:30
Can you still use the Invoke Block for compile blocks with uncompilable/unsupported nodes if you disable 'Enable Compiling'?
I am trying but I haven't yet found an unsupported node. Have been searching for a list of supported/unsupported nodes. 😆
Thanks for the tutorial.
Yeah, sure. It will not be that fast, but other benefits are still there
@@RenderEverything Just found out we can't, unfortunately. I tried with the PolyWire. The 'Enable Compiling' parameter doesn't translate into the 'Invoke Compile Block'. Made a post about it on the SideFX forum.
@@18bovende hmm, strange - I haven’t encountered any problems. Well, maybe I have not used it in such way, but I thought I had.
@@RenderEverything Yeah I think it won't be a problem for me. You can work around many things as you say in the vid. Just wanted to know if this could also function as a the idea of a kindof 'Invoke Subnet' or 'Invoke HDA' SOP. Asked for an alternative way to do that in the forum, may I need it in the future. (topic/80764/?page=1#post-347339)
I'm still getting the error that I`m internally referencing a compiled node when i use 0 inside of a for loop.
Thanks, very instructive.
Forši, kaut ko jaunu uzzināju :) nav nedaudz par sarežģītu setups ? Man prāta nāk ka polygon subdivaidot un vidējo punktu pabīdīt uz leju randoma un rezultāts varētu būt līdzīgs.
Nu šistas setups korekti strādā, ja punkti ir ļoti atšķirīgos augstumos - tad lejā nav vidējais punkts, bet tuvāk zemākajam punktam. i.imgur.com/FmdECIB.jpg
Protams, var jau visu aptuveni uztaisīt lai tikai izskatās labi. Šeit uzsvars vairāk uz pašiem Compiled Blocks un tie kabeļi tik tā - kaut kad pašam bija interesanti researčot kā to korekti izdarīt priekš viena projekta.
@@RenderEverything jebkura gadījuma forši :)
Great~~~~~~~~~~~!
thank for this
Thank You!
Great work. Thanx!
Thanks!
Thanks
Thanks!