How can I create large-scale pixelart using [jit.scissors], please?

    Jitteradvanced

    jamie bell's icon
    jamie bell's icon
    jamie bell
    Dec 17 2015 | 12:53 am
    Hi there,
    I'm fairly new to Max/jitter and have looked for a simple solution but have not been able to find one, so far :( I am creating live visuals for a project and would love to be able to include pixel-art as part of the performance and am looking for help/advice on how this can be done, please?
    I am running Max 7 on El Cap! and using [jit.scissors] to split a video into 12 rows by 16 columns, as used by most 8-bit pixel art. I would like to be able to control the colour of each [jit.scissors] video outlet to create an 8-bit pixel-image. I would also, if possible, like to have the ability to produce different pixel-art as well; e.g. have a pixel-art of Super Mario that can be changed to him jumping, and vice-versa.
    Many thanks :)

    • metamax's icon
      metamax's icon
      metamax
      Dec 17 2015 | 2:56 am
      Another approach is to use [matrixctrl] to set pixel values in a single matrix and [suckah] to select 8-bit colors from a palette image. For the animation, you can draw each frame and save the [matrixctrl] values to recall in sequence or use other jitter tricks to shift cells etc. Here is something to get you going in that direction.
      Max Patcher
      In Max, select New From Clipboard.
      Show Text
      Share
    • ygreq's icon
      ygreq's icon
      ygreq
      Dec 20 2015 | 11:44 pm
      jit.scissors is crap. Eats up your processors really fast. Avoid.
    • phiol's icon
      phiol's icon
      phiol
      Dec 21 2015 | 5:51 am
      Hi Jamie ,
      you could cheat and simply downsample your image
      Max Patcher
      In Max, select New From Clipboard.
      @YGREQ : I posted a jit.gl.scissor last summer. Look it up, it's quite flexible. using jit.gl.shader and multiple etc... can get crazy results with high fps
    • jamie bell's icon
      jamie bell's icon
      jamie bell
      Dec 21 2015 | 11:41 pm
      Thanks for all the info and advice, very much appreciated :)
      @ Metamax: The patch you sent was ideal for my purpose (i.e. overlaying blocks of colour onto a video that would produce a pixel-art effect) however, I can't see how the patch is made and don't know enough about Max/Jitter (yet) and the objects to work it out. There is a problem with the patch in that when I use the [preset] object it causes the [mtrxctrl] to display a single colour throughout the matrix on recall. I imagine that this may be because the preset needs to be attached to specific objects to prevent this?
      @ Ygreq; Just after I posted this I realised that using [jit.scissors] would be too much as having 192 matrices (12x16 outlets), with each having a separate patch to control colour schemes, would suck the life out the CPU.
      @ Phiol: This patch is more pixellation of the image than creating pixel-art (think 8-bit console game images, like Mario). However, i like what this patch does and it taught me something new and it will definitely come in very handy, so thank you :)
    • metamax's icon
      metamax's icon
      metamax
      Dec 22 2015 | 3:33 am
      Jamie, not sure what's up with [preset], but in this case, each matrix frame can be saved as a .jxf file. Save the patch somewhere and the frames will be saved to the same folder. There's an easier way to do this with [jit.matrixset] but this should work okay. Good luck. I also attached an example .jxf file because, well.. I couldn't resist. hehe
      Max Patcher
      In Max, select New From Clipboard.
    • metamax's icon
      metamax's icon
      metamax
      Dec 22 2015 | 3:35 am
      Whoops.. never mind. Apparently I can't attach .jxf files.
    • phiol's icon
      phiol's icon
      phiol
      Dec 22 2015 | 5:07 am
      something like this ?
      Screen-Shot-2015-12-21-at-11.58.47-PM.png
      png
    • metamax's icon
      metamax's icon
      metamax
      Dec 22 2015 | 5:13 am
      I think more like this... :P
    • phiol's icon
      phiol's icon
      phiol
      Dec 22 2015 | 5:14 am
      right on metamax :-)