Forums > Gen

jit.gen & output & input formats confusing me totally :-(

Jun 21 2012 | 4:40 pm

Hi there,

I need to enter a 4-uplets in a jit.gen in order to make a calculation.
til here, no problem.

I'm splitting the uplet into 4 floats components with swiz… til cute…
Then, I'm making my calculation, all ok.

problems appear when I'm trying to "build" my output.
I need to pop out 9 floats.

Here is my patch attached.

Because I'm building 3 vectors and popping them out the jit.gen, I'm using glue to .. glue them to make a resulting matrix 3×3, which is here the rotation matrix I need to produce my azimuth calculation.

Please where is the problem?
I tried to tweak the jit.gen attributes, to make it not adapting, 1 1 as dimension & 3 planes… all the same… the resulting matrix from glue is 0. 0. 0 0. 0. ….


  1. jit.genOutputInput.PNG


Jun 21 2012 | 4:51 pm

here is another variant
seems better

jit.gen is 4 plane not adapting in order to provide the process of the 4 plane stuff coming into it.
and thus, it pops out vectors with 4 components EVEN if I'm still using (vec 0. 0. 0. ) object before output.

the fourh component is 0.0000

I can probably remove it with scissors..
but it would be smarter to avoid to have it.

how would you advise to me ?


  1. variante.PNG


Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Gen