adding video background to gl object in jit.pwindow


    Nov 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

    • Nov 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: https://cycling74.com/forums/common-max-arcana
    • Nov 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,
    • Nov 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
    • Nov 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
    • Nov 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
    • Nov 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.....
      Maybe you could have a look and see what you think?
      Thanks
    • Dec 01 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
    • Dec 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: