As a beginner I dont understand a single thing, no VEX, no assigning, no attributes, no modelling, no simulation, its so confusing. Been trying to learn Houdini for one year as a Cinema 4D and Autodesk artist.
In the nearpoints example, inside solver why are we adding int pt variable? I'm new to VEX. Can you please explain all the lines in that expression only? Many Thanks!
In the Last Neighbours example. May I know the reason/explanation of this 2 line's? float weight=fit(color,ncolor,1,0,1); ///////////////////////////// append(dir,ndir*weight); This is what i am thinking.The ndir*weight is done so that direction follows the weight. And weight is representing the gradient. Hopefully it is true. Thank you ,sir.
Overall: If you have your current point color and calculate the difference to each neighbour color, this is the weight. Now multiply each direction (the neighbour point is from our current point) so we get stronger directions towards the points we have a higher weight value. Specific lines: 1. Creates a weight value for each neighbour point by the difference between neighbour point color to the current point color. // We need to get a weight for each point in this case is the weight, the difference between color of the neighbour and color of the current point. 2. appends the direction vector value to the dir array, each multiplied with the neighbours weight. //Multiply a vector to makes it longer or shorter Hope that helps!
The NN & NP examples are the best I've seen explained in such a short time. Cheers man
best explanation ive seen sofar. thanks chief
As a beginner I dont understand a single thing, no VEX, no assigning, no attributes, no modelling, no simulation, its so confusing. Been trying to learn Houdini for one year as a Cinema 4D and Autodesk artist.
great tutorial! short and on point! also great examples. thanks a lot for this
What is inside vdb nodes? Thank you
In the nearpoints example, inside solver why are we adding int pt variable? I'm new to VEX. Can you please explain all the lines in that expression only? Many Thanks!
In the Last Neighbours example.
May I know the reason/explanation of this 2 line's?
float weight=fit(color,ncolor,1,0,1);
/////////////////////////////
append(dir,ndir*weight);
This is what i am thinking.The ndir*weight is done so that direction follows the weight.
And weight is representing the gradient.
Hopefully it is true.
Thank you ,sir.
Overall:
If you have your current point color and calculate the difference to each neighbour color, this is the weight.
Now multiply each direction (the neighbour point is from our current point) so we get stronger directions towards the points we have a higher weight value.
Specific lines:
1. Creates a weight value for each neighbour point by the difference between neighbour point color to the current point color. // We need to get a weight for each point in this case is the weight, the difference between color of the neighbour and color of the current point.
2. appends the direction vector value to the dir array, each multiplied with the neighbours weight. //Multiply a vector to makes it longer or shorter
Hope that helps!
@@FabianStrube Thankyou for your Time.