need little help with opengl output destinations

Apr 16, 2009 at 4:30pm

need little help with opengl output destinations

Hey i was wondering if someone could help me i’ve been playing about with a patch made using the boids externals found http://www.mat.ucsb.edu/whsmith/Software/boids_max_jitter_osx.zip]here

now the thing i was trying to do is though the opengl matrix is being outputed to the jit.window named boids i cant seem to work out how to send it just as a matrix to say a jit.pwindow i was trying to use the jit.chromakey object to subtract the black background and have the objects flying about blended into another video source i.e webcam, its probably somethin really simple but i’ve been looking over the jitter tutorials as well documented as they are i can’t seem to work it out, any help would be great.

#43409
Apr 16, 2009 at 5:40pm

no need to convert back to a matrix or do any kind of chromakeying (those things will slow your patch down).

just create a gl.videoplane in your context, and send your movie to that. transform_reset attribute might be useful, as well as layer attribute for proper drawing order. reread the relevant opengl tutorials if this doesn’t make sense.

if you still need help, post us a patch showing your problems.

#155699

You must be logged in to reply to this topic.