Forums > Jitter

adding video background to gl object in jit.pwindow

November 12, 2010 | 9:53 pm

hey, has anyone any idea how to do this. I'm trying to add a video background to a opengl object in a jit.pwindow. Any help would be appreciated, thanks

[attachment=145941,1364]

Attachments:
  1. Picture_3.png

November 13, 2010 | 2:56 am

i assume you mean texturing 3D objects with a movie?
pretty simple, create a named texture, send a matrix to that texture, and set the @texture attribute of the 3D object. basic example below.

in the future, please provide the text of your patcher, not an image.
see this post:

http://cycling74.com/forums/topic.php?id=26095

– Pasted Max Patch, click to expand. –

November 14, 2010 | 6:05 pm

thanks. no i meant load a background video. you need a jit.gl.videoplane object to achieve this i found out,


November 30, 2010 | 2:31 am

Hey Guys,

Any takers on this one? I’m trying to do the same type of thing and have a separate post to that effect. Surely someone can help with this???? Hmmmm? Please?

Thanks


November 30, 2010 | 7:18 am

Hi Chris,

Did you get a reply on this from anyone – I’m looking for more or less the same answer?

Thanx


November 30, 2010 | 6:50 pm

@medinnersready maybe you could try posting a patch first? then the community can see at which point you are now


November 30, 2010 | 7:18 pm

Hi Bea…

I have posted a patch with a more definitive explanation of what I’d like to do as a different topic. I only asked here as well to try and expand my options of getting a solution. This is the link from the address bar if this works…..

http://cycling74.com/forums/topic.php?id=29836

Maybe you could have a look and see what you think?

Thanks


December 1, 2010 | 8:44 pm

Hi Chris…

If you follow the thread of my query above you may find the answer you seek. Beatriz, MIB, Scatlogic & Llumen were extremely helpful on this so if this answers your query a nod to those people wouldn’t go amiss.

All the best


December 29, 2010 | 3:43 pm

You can easily play a movie or any other matrix in the background of all your gl stuff by using the draw_pixels message to jit.gl.render.
Here’s a quick and dirty example:

– Pasted Max Patch, click to expand. –

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