adding video background to gl object in jit.pwindow

Nov 12, 2010 at 9:53pm

adding video background to gl object in jit.pwindow

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
#53286
Nov 13, 2010 at 2:56am

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. –
#191670
Nov 14, 2010 at 6:05pm

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

#191671
Nov 30, 2010 at 2:31am

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

#191672
Nov 30, 2010 at 7:18am

Hi Chris,

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

Thanx

#191673
Nov 30, 2010 at 6:50pm

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

#191674
Nov 30, 2010 at 7:18pm

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

#191675
Dec 1, 2010 at 8:44pm

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

#191676
Dec 29, 2010 at 3:43pm

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. –
#191677

You must be logged in to reply to this topic.