different matrixes into jit.gen inlets

FineCutBodies's icon

yo guys,

I was wondering if i can send 2 different type of matrixes into 2 different inlets of a jit.gen object? For example i send a (jit.matrix 8 float32 30 2) to IN1 and (jit.matrix 1 float32 5 5 5) to IN2...
So for every item in IN1 (60 times) i can calculate a a 3D vector based on some of the data of the 8 planes, normalize it and sample this vector from IN2.

But somehow I cant sort this out, as it seems IN2 is always waits the same kind of matrix as IN1.

Any ideas? Thanx in advance,
Kevin

Rob Ramirez's icon

the matrices must have the same dimensions and type. i believe planecount can differ.
perhaps jit.scanwrap will be useful.

FineCutBodies's icon

thanx Rob!