Jitter mapping question


    Mar 16 2014 | 6:07 am
    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

    • Mar 16 2014 | 12:49 pm
      this is a quick mod of a recently posted nurbs patch...
    • Mar 17 2014 | 3:17 pm
      Thank you!!
      can I mod this to control opacity for each stripes independently?
      I would like to set each trigger for each stripes.
      best,
    • Mar 17 2014 | 3:56 pm
      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..
    • Mar 17 2014 | 4:04 pm
      like this
      maybe use syphon to port it to madmapper to do the mapping
    • Mar 17 2014 | 4:07 pm
      mapping is already integrated in patch above (click on ctl-dots and drag them..)
    • Mar 17 2014 | 7: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.
    • Mar 17 2014 | 11:04 pm
      To Tobias,
      Can I save the ctrl+dots, so I don't have to relocate those every time open the patch?
      best,
    • Mar 17 2014 | 11: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.
    • Apr 09 2014 | 11: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
    • Apr 10 2014 | 4:45 pm
      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.