derrick
derrick
About Me
Connect
LOCATION
Not Specified
ウェブサイト
Houdini Engine
Availability
Not Specified
My Badges
SideFX Staff
Since 7月 2005
Recent Forum Posts
VEX : argsort() question 2025年9月17日13:57
Kareeem
Most of it works but the argsort() function does something I dont understand. What is it actually doing?
f@cluster_heights = 0.949269, 0.949269, 0.0507307, 0.0507307, 0.52028, 0.52028
i@cluster_heights_index = 2, 3, 4, 5, 0, 1
Should this not be: 4, 5, 0, 1, 2, 3 ???
It reports the order items should appear in a sorted list. The value at index 2 should be the first item in the sorted list, the value at index 3 should be the second item in the sorted list, etc. When you do this, the resulting sorted list is:
0.0507307, 0.0507307, 0.52028, 0.52028, 0.949269, 0.949269
`xyzdist` in C++ 2024年2月27日13:09
See: GU_RayIntersect::minimumPoint()
https://www.sidefx.com/docs/hdk/class_g_u___ray_intersect.html [www.sidefx.com]
https://www.sidefx.com/docs/hdk/class_g_u___ray_intersect.html [www.sidefx.com]
Procedural PolySplit 2023年11月9日15:36
PaoloGiandoso
When you say channel, do you mean a Keyframe? Is it the same thing?
Does creating a keyframe tells houdini to evaluate the text as an expression instead of a string?
Yes, that is what I mean. Once you set a keyframe, you can click on the parameter's label to switch between viewing the expression and what it evaluates to. I find this more useful than using backticks because the colour makes it easier to notice there is an expression and I can click on the label to see what value the expression produced.