Forums > Jitter

Some question about jitter Matrix expressions??

December 29, 2010 | 6:23 pm

Hi all,

I have some question in jitter ,like two video operation or matrix expressions?I read jitter recipe book and tutorials ,I can’t understand the mean either.even I read this post .I can’t understand @expr norm[1] how to used and how to work?

http://cycling74.com/2010/03/08/demystifying-expressions-in-jitter/

Should I read something about openGL book to understand the principle of mesh & texture on video & matrix in jitter?

Give me some suggestion
Thanks.


December 30, 2010 | 3:33 pm

Hey there,

The expression norm[0] ‘normalizes’ the incoming matrix of the left entrance of the jit.expr object. In other words, if you have a matrix, say created by jit.noise 1 float32 3, and you run that through jit.expr @expr norm[0], the values will be 0. 0.5 and 1.
Try experimenting with small matrices and jit.print to see the result of the operations in the max window.

A small example (watch the values in the max window):

– Pasted Max Patch, click to expand. –

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