Forums > Jitter

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

July 20, 2012 | 10:14 am

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.

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:

– Pasted Max Patch, click to expand. –

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

– Pasted Max Patch, click to expand. –

July 20, 2012 | 5:48 pm

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?

[attachment=199807,4211]

Attachments:
  1. node.videoplane.png

July 20, 2012 | 7:47 pm

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.


July 20, 2012 | 8:09 pm

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.


July 20, 2012 | 8:51 pm

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.

[attachment=199825,4213]

Attachments:
  1. Screenshot20120720at10.43.31PM.png

January 13, 2013 | 5:43 pm

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


January 14, 2013 | 12:11 am

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

[attachment=212376,4884]

Attachments:
  1. Screenshot20130114at1.00.26.png

Viewing 7 posts - 1 through 7 (of 7 total)