capturing jit.gl.videoplanes using jit.gl.node?

hc gilje's icon

I am probably missing out on something essential with how jit.gl.node capture works. I have no problem getting it to work with a 3d object like jit.gl.gridshape, but would also expect it to work with jit.gl.videoplane (or jit.gl.cornerpin), but I guess jit.gl.node does not capture the video textures?

Basically what I want to achieve is one render destination that sends the captured scene through a videoplane/cornerpin before going to the jit.window, and another render destination that sends the captured scene to a preview jit.window.

I know there are other ways of doing this (capture to texture), but have not had much luck with this on windows.

Max Patch
Copy patch and select New From Clipboard in Max.

Here are two patches that hopefully explains better. The first one is jit.gl.node capturing two gridshapes (based on an example posted by Robert Ramirez a while back:

Max Patch
Copy patch and select New From Clipboard in Max.

The second is very similar but attempting to capture two videoplanes instead.

Wesley Smith's icon

Here's what I see on both OSX and Windows. I believe what you intend with the patch is what's happening for me. Do you see something different?

4211.node.videoplane.png
png
hc gilje's icon

That´s odd.
When doing this in OSX I only get the rectangles without video content. Somehow good to know that it is supposed to work at least, but need to figure out why it isn´t working on my computer then.
I will see if I have better luck on windows, downloading the latest version of max now.

Wesley Smith's icon

If it doesn't work on OSX, definitely send your specs so we can see if we have a machine that's similar and can try and reproduce.

hc gilje's icon

There is definitely something wrong going on. I get the same thing happening in Windows as well.
I have a macbookpro from 2009 (macbookpro5,3 is the model identifier) with dual graphics card nvidia Geforce 9400M, and 9600M GT, running 10.6.8 and Windows XP, and Max 6.05 (happens with both graphics cards).
No errors in the max window apparently, but it seems to be a typical opengl overflow issue? The fan even starts accellerating on this super simple patch.

4213.Screenshot20120720at10.43.31PM.png
png
sakerdon's icon

I have the same issue.
plus ERROR CREATING SHARED CONTEXT in max window
Intel(R) Core(TM)i7-3840QM @ 2.80GHz
RAM: 32 GB
NVIDIA GeForce GTX 680M
Windows 7 Professional 64.
and came to this thread also because I need to use Max5 patch with shared_content of 2 renders.
interesting...
Alex

LSka's icon

I have a MacBookPro5,3 as well and the patch seems to work... (but Max 6.0.8)

4884.Screenshot20130114at1.00.26.png
png