Forums > Jitter

connect a jit.cellblock with a jit.matrix to display an image?

August 4, 2006 | 10:04 pm

hi,
i fill a cellblock using a wacom tablet… can i dispay the matrix with jit.matrix/ jit.pwindow?
thanks a lot!
philippe


August 4, 2006 | 10:21 pm

See the jit.convolve help patch. It shows how to do it.

wes

On 8/4/06, phygloo

wrote:
>
> hi,
> i fill a cellblock using a wacom tablet… can i dispay the matrix with jit.matrix/ jit.pwindow?
> thanks a lot!
> philippe
>


August 4, 2006 | 10:45 pm

sorry, perhaps i’m too tired but in convolve help, it shows how to visualize a matrix in a cellblock. what i need to do is connect a cellblock to a matrix and visualize in a pwindow…
phy


August 5, 2006 | 2:50 am

I would say, just off the cuff, that you ought to be able to use the dump command from jit.cellblock (which sends out of the last outlet lists something like "dumpout 0 0 255" for every cell), reformat the lists appropriately ("setcell 0 0 val 255"), and message them into the jit.matrix.

Although I haven’t tried it, it looks as if the jit.fill object might be a useful intermediate step in the process.


August 6, 2006 | 9:32 pm

Thanks all for your answers.. i tryied it, it works fine ;)
but today i made an other patch to fill directly a jit.matrix without cellblock and it’s a better solution!


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