Forums > Jitter

jit.unpack and gl geometry (this should be easy)

August 21, 2014 | 9:01 pm

I thought I’d figured out [jit.unpack] several times but I don’t think I do.
[jit.unpack 2 @jump 3 4 @offset 0 1]<— the 2 means 2 output / @jump 3 means 3 planes out the first outlet and 4 out the second. / @offset 0 1 means the first outlet will start count from plane 0 1 2 and the second outlet will start count from plane 1 2 3 4 please correct me if I am wrong.

when objects like jit.gl.gridshape/videoplane/mesh etc. are set to @matrixoutput 1 ,
they output 12 planes. Appendix B explains what they are.

-to see the result you either connect directly to jit.gl.render.
or use a jit.gl.mesh or …

thanks

phiol


August 22, 2014 | 3:49 am

Its not at all clear to me what your question/problem is.


August 22, 2014 | 7:34 am

Hi Andro, thanks for the response.

Basically I just want to confirm if this is the correct way jit.unpack functions.
It’s to solve part of a few patches.

For example, here below are two of them;

1.

– Pasted Max Patch, click to expand. –

2.

– Pasted Max Patch, click to expand. –

Thanks a lot Andro

  • This reply was modified 3 weeks by  phiol.

August 25, 2014 | 6:54 pm

Hi Andro,

have you had a chance to look @ the patches and see what I mean’t

thanks man

phiol


August 26, 2014 | 6:00 pm

you are correct in you description of how jit.unpack works.


August 26, 2014 | 8:08 pm

Thanks a lot Rob I appreciate the confirmation.
Have you had time for a quick peak @ the patches?

in all cases thanks a lot for all the great work :-)

Can’t wait for Max7


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