Forums > Jitter

Jitter mapping question

March 15, 2014 | 11:07 pm

Hello

I am making a jitter visual for a projection mapping.

1. I would like to make 50+ of white horizontal stripe filled on a single matrix, and control each stripes’ opacity randomly and/or individually. (attached image)
2. Each stripes needs to be accurately mapped on the object. so I need to arrange each stripes pixel by pixel..

How can I make this simple as possible?

best,

j

Attachments:
  1. bars

March 16, 2014 | 5:49 am

this is a quick mod of a recently posted nurbs patch…

<code>

– Pasted Max Patch, click to expand. –

</code>


March 17, 2014 | 8:17 am

Thank you!!

can I mod this to control opacity for each stripes independently?
I would like to set each trigger for each stripes.

best,


March 17, 2014 | 8:56 am

yeah, thats easy. just fill jit.matrix 1 char 1 50 however you want (check "What is a Matrix?" and the first Jitter tutorials in the Help..



MJ
March 17, 2014 | 9:04 am

like this

maybe use syphon to port it to madmapper to do the mapping

<code>

– Pasted Max Patch, click to expand. –

</code>


March 17, 2014 | 9:07 am

mapping is already integrated in patch above (click on ctl-dots and drag them..)


March 17, 2014 | 12:15 pm

Thank you so much Tobias and MJ,

what I was seeking is MJ’s individual strip opacity control over Tobias patch’s delicate arrangement of bars for mapping.


March 17, 2014 | 4:04 pm

To Tobias,

Can I save the ctrl+dots, so I don’t have to relocate those every time open the patch?

best,


March 17, 2014 | 4:29 pm

send the matrix output from the phys.multiple into a jit.matrix object, and then use the "write" message to same that matrix to a file. you can then "read" the matrix back in and either output it directly to the ctlmatrix, or send as the input to the phys.multiple.


April 9, 2014 | 4:18 pm

Thank you rob.
I tried to save and read the matrix. but it didnt work. could you show me an example patch that does?

I see the param scale from Tobias’patch

//

param scaling 0. 0.

//

but how can I change x/y position param for jit.gen?

If I change the position in jit.gl.nurbs,
I cannot contol the ctrl dots that seems not adjusted to new coordinate.

best,

J

  • This reply was modified 3 months by  djtoshi182.

April 10, 2014 | 9:45 am

for the matrix saving, show what you tried.

for the position, you have to modify the jit.gen.
create a param object: [param pos 0 0 0]
and create an addition object and insert it between the snorm and the multiply: [ + pos ]

you can now adjust the position using the pos parameter.


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