Forums > Jitter

Jit.gl.videoplane lights and gridshape objects

April 17, 2013 | 12:59 pm

Hi

I’ve put together this patch which is based on Andrew Bensons lights patch however i have three issues.

1. How can i apply standard gridshape objects into the videoplane that aren’t subject to the glowing effect.

2. Is there a way to make the lit objects opaque (ie. not transparent) or is this just a part of the way the glow effect works

3. Is there a more economical way to create multiple lit objects without using multiple gridshape objects. I’ve tried using messages all sent to one gridhshape only the right-most message seems to be displayed.

thanks
Ollie


April 17, 2013 | 6:22 pm

where’s the patch?


April 17, 2013 | 6:24 pm

Sorry im having a slow brain day

– Pasted Max Patch, click to expand. –

April 17, 2013 | 6:43 pm

1 – you can add any gl object to the normal context and it will show up in the window.
you probably want to set @depth_enable 0 on your jit.gl.videoplane, and control the draw order with the @layer attribute.

2 – not sure i understand

3 – jit.gl.multiple?


April 17, 2013 | 8:39 pm

Thanks Rob

i’l have a play with depth and layer.

I forgot to explain but i did manage to get another shape in at one point but when i re-opened i couldn’t get it again so i think it was because i change something that i shouldn’t have but basically when it was there you could see it through the flashing bars, hence the transparency question. It might have been to do with the layer thing though so ill look into that.

cheers for the help anyway.


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