Interesting approach, I hadn't thought about measuring the ratio between a peaked twin curve and the original, quite clever. There's however a much simpler way to find the banking with the measure SOP, set to Curvature/Principal, Smaller/Signed/Vector. The resulting vector will be something we can input into a Sweep SOP Partial Twist Scale By Attribute. Cheers Kenny!
thank you so much for all these videos, i've been learning so much from you. I am watching your procedural race track course in udemy. Pure gold :) keep up the awesome work
PS. the sweep node has built in roll(twist/yaw/pitch values, which you can control with attributes directly...so the last "banking" wrangle isn't necessary for this setup, but good for learning matrix basics.
Great tutorial, really helped me out, thanks. Instead of the Attribute Transfer I tried a polypath SOP which uncomplicates the node tree slightly. Also when calculating the bank_ratio, you had f@restlength/otherlength, which gave me an unexpected result.. when i swapped these around my banking worked as expected (without the negate in the matrix calc). Not sure why my results were different.
thank you amazing tutorials very helpful, in the attribute remap you can just pres on compute range and it will put the min and max values for you without writing the code :)
You are welcome. You can press the compute rang for sure, but if you are putting this into an hda, then the min and max will need to be found through code to make it procedural. So it can take in any user curve, but if it's not an hda, then yep! You can hit the compute rang button.
I don't think you actually want to fit the bank_ratio between -1 and 1 here, that will mean that points with an initial bank_ratio of 1 could wind up mapped to some value other than 0 when used for rotation (i.e points that should have no rotation might end up rotated: when the peaked and non peak rest lengths are both the same, e.g 1/1 = 1, their rotation should be 0). I think you can simply do @bank_ratio -= 1 and that will center everything around the points that should not have any banking.
Edit: Seconds later, i have fixed the issue.... a typo in the code from myself. been bugging me for most of the morning, not sure whether to laugh or cry. Original: Hi, Amazing tutorials! I am currently struggling getting a return value from my bank_ratio - the primitive numbers sit at "0" instead of the correct length? Thanks in advance
I started to study Houidini this month, I want to learn how to make this kind of track that appears in the beginning of the video, but I don't know where to start, any advice?
I post all the files for these videos on my patreon page: www.patreon.com/indiepixel Good place to start. There are also a ton of free videos on the Side FX site. That is another great place to start.
Interesting approach, I hadn't thought about measuring the ratio between a peaked twin curve and the original, quite clever. There's however a much simpler way to find the banking with the measure SOP, set to Curvature/Principal, Smaller/Signed/Vector. The resulting vector will be something we can input into a Sweep SOP Partial Twist Scale By Attribute. Cheers Kenny!
Great work. I love your way of explaining the concepts. Thank you
Thank you for sharing all your knowledge. You're real cool Kenny!
thank you so much for all these videos, i've been learning so much from you. I am watching your procedural race track course in udemy. Pure gold :) keep up the awesome work
So useful. Thanks!
Awesome video. I've noticed that due to how the math works, it can't handle vertical loops. So thats an interesting challenge to work out.
Incredible videos, I'm learning so much from them. Thank you so much for the amazing teaching and editing of your videos, cheers mate!
Thanks so much! :-)
PS. the sweep node has built in roll(twist/yaw/pitch values, which you can control with attributes directly...so the last "banking" wrangle isn't necessary for this setup, but good for learning matrix basics.
Great tutorial, really helped me out, thanks.
Instead of the Attribute Transfer I tried a polypath SOP which uncomplicates the node tree slightly. Also when calculating the bank_ratio, you had f@restlength/otherlength, which gave me an unexpected result.. when i swapped these around my banking worked as expected (without the negate in the matrix calc). Not sure why my results were different.
thank you amazing tutorials very helpful, in the attribute remap you can just pres on compute range and it will put the min and max values for you without writing the code :)
You are welcome. You can press the compute rang for sure, but if you are putting this into an hda, then the min and max will need to be found through code to make it procedural. So it can take in any user curve, but if it's not an hda, then yep! You can hit the compute rang button.
@@IndiePixel3D I see :) thanks!
I don't think you actually want to fit the bank_ratio between -1 and 1 here, that will mean that points with an initial bank_ratio of 1 could wind up mapped to some value other than 0 when used for rotation (i.e points that should have no rotation might end up rotated: when the peaked and non peak rest lengths are both the same, e.g 1/1 = 1, their rotation should be 0). I think you can simply do @bank_ratio -= 1 and that will center everything around the points that should not have any banking.
Edit: Seconds later, i have fixed the issue.... a typo in the code from myself. been bugging me for most of the morning, not sure whether to laugh or cry.
Original: Hi, Amazing tutorials! I am currently struggling getting a return value from my bank_ratio - the primitive numbers sit at "0" instead of the correct length? Thanks in advance
thanks, clearly explain
Doing god's work here my man. Thank you.
Super useful
thank very cool tutorial )))))))
I started to study Houidini this month, I want to learn how to make this kind of track that appears in the beginning of the video, but I don't know where to start, any advice?
I post all the files for these videos on my patreon page: www.patreon.com/indiepixel Good place to start. There are also a ton of free videos on the Side FX site. That is another great place to start.
thanks alot
Do you have discord?