Aizatulin

Aizatulin

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

VEX : argsort() question 2025年9月18日7:57

I call this "inverse" in terms of mapping. Lets say arg_sort maps (0,1,2,3,4,5) onto (2,3,4,5,0,1) can be written as (0 -> 2), (1 -> 3), (2 -> 4), (3 -> 5), (4 -> 0), (5 -> 1), what is the inverse mapping of it? It is (0,1,2,3,4,5) -> (4,5,0,1,2,3) can be written as (0 -> 4), (1 -> 5), (2 -> 0), (3 -> 1), (4 -> 2), (5 -> 3) and if we compose these function we will get (0 -> 2 -> 0), (1 -> 3 -> 1), (2 -> 4 -> 2), (3 -> 5 -> 3), (4 -> 0 -> 4), (5 -> 1 -> 5).
Like if you have a function, where finverse is the inverted function: finverse(f(x)) = x (for example log(exp(x)) = x).

VEX : argsort() question 2025年9月18日3:15

Hi,

if you want to get the list (4, 5, 0, 1, 2, 3), just create a new int array and set new_array(arg_sort(i)) = i, where arg_sort = (2, 3, 4, 5, 0, 1 ).

Here is a modification of your file.

The equivalent of Blender's "Extrude Manifold"? 2025年4月16日5:44

You can do it with boolean, I've made some experiments combining extrude with boolean and some cleanup operations.