To fix decimal formatting issues with "sprintf()" function use %s or %g. it will use the same value as you assigned to variable and no decimal error. Thanks for the video!
Can't get ftrim function, If you can explain it would be life saver What I got is like // So if you want to trim 0.256143 to 3 decimal places // You'll write like sprintf("%.3f", 0.256143) ; //or sprintf("%0.3f", 0.256143) ; // Result will be 0.256
when I select the path to the attributewrangle, the "font" still shows not the text itself, but the path to the attributewrangle. What could be the problem?
Hey! great video!! i got a question... can u use a string array to store variable names, and then acces that variables trought the array? Someting like: int val1 =0; int val2 =1; String array[] = {"val1","val2"}; int val3 = array[0]; ??
Thank you so much for this amazing course! You go into so much detail and explain every step very well :D
You're awesome Junichiro for sharing your infinite knowledge. Thank you!!!!!
I'm new in houdini and started to learn vex not so long ago. I can't thank you enough for helping me/us to demystify this software !!! :)))
Before you, for half a day I could not understand how to convert float into a string, thank you very much!
If there's only 151 hits it's not because this isn't an excellent series. It's because learning VEX is not easy. Thanks for your meticulous lessons.
as of 1/14/22 (5 months later) there are 4k views.
Thanks Junichiro!!! This series should call JuniFlix. See you in the next chapter.
these lessons are very usefull and interesting! thank you
To fix decimal formatting issues with "sprintf()" function use %s or %g. it will use the same value as you assigned to variable and no decimal error. Thanks for the video!
Super useful, tyvm
Thank you !
thank you sensei🙏
Great, as always!
s@val1 gives me an error.. everything is exactly the same. any ideas?
if you struggle with too much decimal numbers, use the "ftrim" function to get rid of the unnecessary => 50.400000 to 50.4
Can't get ftrim function, If you can explain it would be life saver
What I got is like
// So if you want to trim 0.256143 to 3 decimal places
// You'll write like
sprintf("%.3f", 0.256143) ; //or
sprintf("%0.3f", 0.256143) ;
// Result will be 0.256
Thanks
As always Gold 👌
want to learn python in houdini from you
when I select the path to the attributewrangle, the "font" still shows not the text itself, but the path to the attributewrangle. What could be the problem?
Thank You very much, Junichiro!
Thanks!!!
Hey! great video!!
i got a question... can u use a string array to store variable names, and then acces that variables trought the array?
Someting like:
int val1 =0;
int val2 =1;
String array[] = {"val1","val2"};
int val3 = array[0]; ??
Though string manipulation is... uh... not "fun", thanks again for doing this video! I've been enjoying them.
s@val1 keeps giving me errors :( code is the same as yours
35:05 mind blown again "you can consider strings the same as arrays, where each character occupies an index in the array" wow
Sure enter single quotes !!!!!!!!! not this ' ,it shloud be ` 8:57
Thanks..I stopped for a long time...