VEX Isn't Scary - Part 3: Functions

  Рет қаралды 25,328

Nine Between

Nine Between

Күн бұрын

Пікірлер: 47
@otoS97
@otoS97 3 жыл бұрын
You are blessing to Houdini community
@NineBetween
@NineBetween 3 жыл бұрын
Thanks, I appreciate that!
@carlitosan
@carlitosan 3 жыл бұрын
Very true!
@BehradDavoudi
@BehradDavoudi 3 жыл бұрын
dude! i cant thank you enough for all you have done for the houdini community. keep up the amazing work!
@NineBetween
@NineBetween 3 жыл бұрын
Thanks Kyle, I appreciate the comment!
@seize2179
@seize2179 3 жыл бұрын
the moment you added the blur the moment things started clicking for me. This is really powerful.
@Nevodee
@Nevodee 2 жыл бұрын
I got very useful tip that is if you want to know about any function just click in-between the function and press F1 key and last I want to say thanks sir for such a great videos. God bless you
@Terandium
@Terandium 3 жыл бұрын
I know how to program so it makes it a lot easier however I’m following your tutorial to learn the syntaxing and Houdini created functions. And for common practices! Your tutorials are amazing and you explain everything so well!
@Drew-bq8po
@Drew-bq8po 3 жыл бұрын
These tutorials are great for someone like me that's coming over from Maya. Thanks!!
@SusieSu321
@SusieSu321 Жыл бұрын
It's getting difficult but you explained it perfectly. Thanks.
@familybusyness8075
@familybusyness8075 3 жыл бұрын
have no words, it is simply amazing!!!!!!!!
@RP89
@RP89 Жыл бұрын
as always Your tutorials are Great Thankyou For Providing Such Content Love From India
@uzaykisi1863
@uzaykisi1863 3 жыл бұрын
Thank you very much for the tutorial and thank you for making them free, very useful
@jonyconde
@jonyconde Жыл бұрын
So good thank you so much mate!
@vibzvfx8648
@vibzvfx8648 2 жыл бұрын
cool
@foeMusique
@foeMusique 3 жыл бұрын
amazing!
@siddharthganti7302
@siddharthganti7302 Жыл бұрын
Whydo those points get eaten away when we make the current frame number less than colouringFrame? I didn't get the logic behind it.
@NicolasLekai
@NicolasLekai 2 жыл бұрын
thx soooooo much , ur the dude. love ur tuts
@foxman4455
@foxman4455 3 жыл бұрын
a question is this really true to say that the colorRand = rand(@ptnum); and the coloringFrame = rand(@ptnum); are generating the same value? colorRand is a vector, has 3 components. i don't know how the function is working exactly and how it takes the random number the rand function generates and turns it into 3 float values for x,y,z, but it's not really the same value am i right? also, if we are turning the generated random numbers into integers, so the values of the coloringFrame are either floored or rounded up to be a whole number. Do you maybe have a more in depth explanation of why when the seed is the same for colorRand and coloringFrame, it from blue/greenish to redish? Thanks!
@ethanwimsett
@ethanwimsett 2 жыл бұрын
An old comment but if anyone is also wondering. The first value of a vector3 will be equal to a float with the same seed, so colorRand.r = coloringFrame before the fit() function. Once scaled, returning as an int and then called if = frame the colorRand will start off with colors with a low red value. Therefore making sure colorRand has a different seed per point, each frame from coloringFrame stops this behaviour.
@litote9
@litote9 Жыл бұрын
@@ethanwimsett I think I understand: Certain point numbers will generate a similar random numbers which will produce similar red colour values (ColorRand.r) creating similar colours. Since the rand function for both the float coloringFrame value and vector colorRand value are the same, this will cause these similarly coloured points to be shown together. So, after you apply the other functions of fit and int, the red channel will rise from a low value to a high value as the frame number increases since the red channel value relates directly the the frame number. To fix this change the seed for the coloringFrame randomisation, e.g. rand(@ptnum * 3) so the seed-generated numbers won’t be similar for those points with similar red colour values, so they won’t be related
@anxhelo7383
@anxhelo7383 3 жыл бұрын
for the first time i was able to understand a coding tutorial , thanks for making it so easy to understand
@NineBetween
@NineBetween 3 жыл бұрын
That's wonderful to hear, thanks for the comment😁
@VisualWondersPlayground
@VisualWondersPlayground Жыл бұрын
6:43
@gta5cheats438
@gta5cheats438 3 жыл бұрын
Its difficult to understand all this function
@annamalai4892
@annamalai4892 Жыл бұрын
@ninebetween can you do a video by explaining why are we using like @ptnum, frame, vector, and explaining why should we use this and where should we use this and all. I plug it as a request for your consideration. You're teaching really well, but beginners like me could understand more and deep if you explain WHY THIS and WHERE THIS. So currently I'm learning Houdini, can you do a video by explaining as what I said above?!. else could you suggest a video like what I said. Kindly consider this as a feedback and request. and kindly like or reply if you've read this
@digitalanimationstation1839
@digitalanimationstation1839 3 ай бұрын
Bro this is scary 😅
@ninjarts9034
@ninjarts9034 3 жыл бұрын
I have a question. Why is coloring frame a float if color is a vector?
@NineBetween
@NineBetween 3 жыл бұрын
Hey, so coloring frame is the frame number that we want to color the point on, it isnt the actual color ie. If f@coloringFrame is 10, make the point v@someColor on that Frame.
@ninjarts9034
@ninjarts9034 3 жыл бұрын
@@NineBetween ok I think I understand, but later on you round it to the integer. Why didn't you make it an integer instead of a float?
@NineBetween
@NineBetween 3 жыл бұрын
Ah, so, the rand() function generates a number between 0 and 1 and then we multiply it by 240. So, say we get 0.61 from rand, we then multiply it by 240 and get 146.4. We then round that to an integer to get 146. The main thing is that we need the point value from rand function and integers cant hold the point value. The best way to overcome this is to create a float and then convert it into an integer. Hope that makes sense😁
@ninjarts9034
@ninjarts9034 3 жыл бұрын
@@NineBetween ok so most of the variables will be either vectors or floats ?
@NineBetween
@NineBetween 3 жыл бұрын
It depends. If the variable is something simple like, 'number of days', 'number of points', 'number of iterations', then a simple integer will do. The reason we're using a float in this case, is because we're doing some calculations that require the decimal value.
@jakesullivan7739
@jakesullivan7739 2 жыл бұрын
I've been tinkering with Houdini for the better part of a year or two now, and this series has inspired me to finally learn VEX- seriously, thank you! Best resource for learning it I've found!
@sikhsardar9690
@sikhsardar9690 Жыл бұрын
I am still confuse in == and single =. double == checking for 2 things which 2 things and single = is left side equal to right side 🤔
@NineBetween
@NineBetween Жыл бұрын
Hey! A double equals sign (==) Is for checking if one side equals the other. For example: 1 == 2 False 4 == 4 True A single equals sign (=) Makes the left side equal to the right side. For example: X = 4 + 5 X now has a value of 9 I hope that helps!
@sikhsardar9690
@sikhsardar9690 Жыл бұрын
@@NineBetween yes i under stand thanks for simple example
@Flatlined804
@Flatlined804 3 ай бұрын
Quite overwhelming actually. Maybe its just me, I need to rewatch it multiple times i guess.
@piccolosamathegodofdestruc373
@piccolosamathegodofdestruc373 7 ай бұрын
Why do we have to convert it to "int" from float, why can't we use "int" directly?? Why so much confusion?
@cerealnpixels
@cerealnpixels 2 жыл бұрын
The way this is explained is really interesting and it makes it so easy to grasp, Thank you very much !
@Lorelei347
@Lorelei347 3 жыл бұрын
Thank you so much for your videos. :D I have just a question about the Attribblur when i create the node and connect it it give me an error and I don't have any idea how to solve it, maybe you can help me. Error Invalid source /obj/sphere1/attribblur1/repeat_end1 Error: the sub-network output operator failed to cook: /obj/sphere1/attribblur1/cl_smooth_generic3 error: OpenCL Exception: clBuildProgram (-43).. Thanks for your time. :)
@NineBetween
@NineBetween 3 жыл бұрын
Hey, Elisabetta, generally when you see an OpenCL error like that, it is related to your graphics card or graphics drivers. One option is to update your GPU drivers and another option is to set your OpenCL to use the CPU. Try going Edit - Preferences - Miscellaneous and change it from GPU to CPU. Hopefully that helps, it's always a little tricky trying to fìx bugs like those without seeing the file😅
@oleit3
@oleit3 3 жыл бұрын
Welcome back! Thanks for the series :-)
@Kai-v2v
@Kai-v2v Жыл бұрын
Hello, I have a question about the part that you are converting "float" into "int" by using "rint". I was wondering why i cant change the "float" to "int" in the first variable part. I know it doesnt work but i cant figure out why. Is it because the "rand" function has the seed which is 0 to 1, which means it might have number with decimal (float)? If someone know why, please tell me.
@NineBetween
@NineBetween Жыл бұрын
Hi, that's exactly the reason. If we assign a rand() value to an integer, it will round it to the nearest value so that it becomes an integer,, so it will either give you 0 or 1, but it will not store the decimal value. If we store it as a float first, it will keep the decimal value, which we can then multiply and round ourselves. I hope that helps!
@Kai-v2v
@Kai-v2v Жыл бұрын
@@NineBetween I get it ! Thank you so much!
VEX Isn't Scary - Part 4: Channel Functions
19:28
Nine Between
Рет қаралды 19 М.
VEX Isn't Scary Project - Part 1:  Line Generation
21:12
Nine Between
Рет қаралды 12 М.
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 15 МЛН
The Math behind (most) 3D games - Perspective Projection
13:20
Brendan Galea
Рет қаралды 400 М.
Why you SHOULDN'T switch to Blender
7:13
Boutaib Yassine
Рет қаралды 89 М.
Top 5 Myths About Houdini
8:43
School of Motion
Рет қаралды 56 М.
What are Vectors? - Speedy Houdini
6:41
Nine Between
Рет қаралды 4,3 М.
Principles of Beautiful Figures for Research Papers
1:01:14
ChuScience
Рет қаралды 26 М.
Houdini Isn't Scary: Part 3 - Dynamics
21:35
Nine Between
Рет қаралды 147 М.
Coding Adventure: Portals
16:06
Sebastian Lague
Рет қаралды 1,3 МЛН
The hidden beauty of the A* algorithm
19:22
Polylog
Рет қаралды 864 М.
VEX Isn't Scary - Part 2: Conditionals
18:09
Nine Between
Рет қаралды 25 М.
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 15 МЛН