open gl "jit.scissors"

Sep 23, 2013 at 2:32am

open gl "jit.scissors"

Hello, I have been searching around the forums looking for ways to do what the title says for a project im working on. In the project I am using one of the phys a-day patches, and I wanted to interlace the frames so i can project two versions of the phys engines onto a surface I built.

I have figured out how to use slabs to mask out areas, interlacing that way. It seems to be working well! but unfortunaltly I have only been able to get it to work with jit.qt.movies. I would like to get it to work with the phys patch, but dont know what to put into the slabs…. also there is a problem with the video plane in the phsy patch.

Attached is a patch with the qt.movie part i figured out and the phys patch that is all there, cept i dont know what to put into the slabs. also there is a tiff, what im using to mask it out.

If anyone could help me that would be wonderful, and thank you too all those that have already done so!

#265975
Sep 24, 2013 at 10:38am

you must capture all your geometry (gl.multiple and gl.gridshape) to a texture, using jit.gl.node @capture 1, and then send that texture to the gl.slab.

set the drawing context of all your geometry to the @name attribute of your gl.node to capture them with the node.

#266128

You must be logged in to reply to this topic.