multslider displayed in jit.gl.cornerpin


    Oct 02 2019 | 8:29 am
    Hi, This is probably impossible to do, but is there a way to display graphically my [multislider] object in a [jit.gl.cornerpin] object or in a [jit.gl.videoplane] !!? Thanks

    • Oct 02 2019 | 8:52 am
      in theory... by recording the screen... but it will be much easier to create your own "multislider" using GL/mgraphics/jit.lcd
    • Oct 02 2019 | 11:41 am
      Hi Roman, I am receiving OSC data that is displayed in realtime by my multislider, and since this slider is displaying visual information I would like to include it in my jit.world context. But, I don't see how I could do it with mgrpahics and jit.lcd?
    • Oct 02 2019 | 1:03 pm
      #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 23 263 77 9109513 jit.lcd; #P newex 67 75 55 9109513 !- 100; #P newex 414 225 80 9109513 list frgb 200 0 0; #P newex 537 205 80 9109513 loadbang; #P newex 326 225 80 9109513 list brgb 0 0 0; #P newex 67 122 77 9109513 t b i clear; #P number 67 33 35 9 0 100 3 139 0 0 0 221 221 221 222 222 222 0 0 0; #P user lcd 167 278 128 128 1 1 0 0 0; #P newex 119 196 182 9109513 pak paintrect 0 0 10 100; #P connect 5 0 4 0; #P connect 5 0 6 0; #P connect 2 0 7 0; #P connect 7 0 3 0; #P connect 0 0 1 0; #P connect 3 1 0 2; #P connect 6 0 1 0; #P connect 4 0 1 0; #P connect 3 2 1 0; #P window clipboard copycount 9;
    • Oct 02 2019 | 7:35 pm
      I've done it like this, using jit.gen and jit.matrix to fill a matrix with white/black based on the multislider value.
    • Oct 02 2019 | 9:21 pm
      Wa have a jit.graph object just for that purpose:
    • Oct 02 2019 | 9:37 pm
      Of course! Totally forgot about jit.graph.
    • Oct 03 2019 | 8:50 am
      This is great. Thank you Roman, Timo and KLSDIZ. I have 5 sliders in my multislider with 5 different colors. Does Jit.graph allow me to have a different color for each slider? I looked at the help file but could not find the answer.
    • Oct 03 2019 | 9:59 am
      you could use a still image matrix with the colors and the jit.graph as mask.