Tomas Slancik
tamte
About Me
業界:
Advertising / Motion Graphics
Connect
LOCATION
New York,
United States
ウェブサイト
Houdini Engine
Availability
I am currently employed at Method Studios
Recent Forum Posts
VEX : argsort() question 2025年9月18日15:55
also going back to your original issue, you don't really need to deal with arrays or VEX at all
just Extract Centroid -> Sort -> Enumerate and Attribute Copy back based on cluster attrib
just Extract Centroid -> Sort -> Enumerate and Attribute Copy back based on cluster attrib
Blend node in COP's blurring image 2025年9月18日12:08
it looks like you are blending images of different resolutions and/or different pixel alignments which can result in one of them being resampled
you can try plugging the highest res image first (bg) into the Blend COP
you can try plugging the highest res image first (bg) into the Blend COP
VEX : argsort() question 2025年9月18日11:56
Kareeem
...
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 ???
you can also just use another argsort() to get the "inverted" indices
f[]@cluster_heights = array( 0.949269, 0.949269, 0.0507307, 0.0507307, 0.52028, 0.52028 ); i[]@indices = argsort( f[]@cluster_heights ); // [ 2, 3, 4, 5, 0, 1 ] i[]@inverted_indices = argsort( i[]@indices ); // [ 4, 5, 0, 1, 2, 3 ]