Forums > Jitter

videoplane masking challenge

Sep 29 2011 | 4:37 pm

Hello community, I’m using the tex_scale_x, tex_scale_y, tex_offset_x and tex_offset_y messages to to view portions of an incoming image as a texture. I need to be able to apply a mask to a number of these videoplanes to control the shapes of the final images. If I add a mask to the alpha channel of the incoming image it gets scaled and offset with the rest of the image. Is there a way to mask the videoplane image independently of these scalings and offsets? For instance, is it possible to grab the altered texture from the videoplane, add a mask and apply this to a second videoplane.

Any suggestions are most welcome.



Sep 29 2011 | 5:00 pm

I answered my own question, using td.rota.jxs and a composite shader.


Sep 30 2011 | 5:22 am

But… it’s VERY SLOWWWWW…. arghh… does anyone know of an efficient way to apply a mask to the contents of a videoplane AFTER its’ been scaled and offset. I need the mask to remain constant on the plane and see the masked image sliding underneath.

Thanks in advance,


Sep 30 2011 | 1:17 pm

Post a patch, maybe people here will help optimize it.

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

Forums > Jitter