change the background color of a matrix

ricardo nas's icon

Hello,

I am wondering if there is way to have a matrix with a background with a colour different from black. I would like a white background. anyone knows how to do that?

MIB's icon

have a look at jit.fill

ricardo nas's icon

What happens is that I am putting 2 movies together using jit.concat. however they occupy only half of the matrix.

I want the background to be white. I tried with jit.fill but it does not work when there is a movie loaded inside the matrix :-/

strontiumDog's icon

Where is your matrix going after that? If you are using a jit.window you can use the erase_color message to the jit.render object.

Brecht's icon

It's a bit hard to understand what it is you are trying to do, but you can send the message 'setall 255 255 255 255' to your jit.matrix object.