Jit.gl.videoplane lights and gridshape objects

ollieayre1's icon

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

Rob Ramirez's icon

where's the patch?

ollieayre1's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Sorry im having a slow brain day

Rob Ramirez's icon

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?

ollieayre1's icon

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.