Forums > Jitter

change the background color of a matrix

January 6, 2011 | 7:32 pm

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
January 6, 2011 | 7:34 pm

have a look at jit.fill


January 7, 2011 | 9:05 am

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 :-/


January 7, 2011 | 12:46 pm

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.


January 11, 2011 | 9:52 am

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.


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