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

Aug 4, 2006 at 10:04pm

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

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

#27045
Aug 4, 2006 at 10:21pm

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
>

#81465
Aug 4, 2006 at 10:45pm

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

#81466
Aug 5, 2006 at 2:50am

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.

#81467
Aug 6, 2006 at 9:32pm

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!

#81468

You must be logged in to reply to this topic.