capturing jit.gl.videoplanes using jit.gl.node?
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:
----------begin_max5_patcher---------- 779.3oc0W1rahCCDG+b3ovJmon37IrmXeI1KqVgLwFvUA6r1NE1spu6q8XRa ZUIjtkh.gHVYxD6+9mmYb7iiBBWJ2yzgnug9IJH3wQAAfImgfC2GDtkrurhn A2BErcxk2GN1+HCauALeO2LYc0j0JNUugTyPlMbMZ9VhYAkuZUilghlLcp8R zL6EDdBZttjT4LmX+Givn40RM2vkBmqNmhbN46MopQ2NnxFSEyX9SMyKb2fu vNRJ99vwnvPzuN3XMwTtgKVuPwJMdeShwShyFihSrJYLJOIw0XMF87awovLx NKuCm0NlqjBifrEFwvevTThfz8YZ9egmgis8m2rnYKWXEJvM7KF8xGrF6L9z nQtKiOKK.OvoLYcEQvPyMJhPuRp1Zm+ZlAE29RUbAqT1Hf2L9LRUrkptlYPS R9QnZ5MLUqUrG3rcWR5lgK9HzM4VitBIsCWKI0lFEyUOvIdnPRuY9qqV35Q6 6.j7jwpQybo7ESgD+h9y+wesrL4ryx2V.taM1jWUi8tnIEewEYcQpV5lll0G jiuohW2wET4tWBWsnSwnGHKBGEgRihNJDWRDqOI9RiAbk6oVFFZhde3M8cg2 2UbR00XpthInLUK89bXBmU3HCNYpuo2L4qvhhF450Urix.taCj9hRfYeBDc3 +XljiDiLK74dQYm4FlZASPVVAizGXRhOegCFzR6OlhnYmLHns068oQxLHdnH uuvghal55+1tfojnr9wzooRNPk7doR94hJwe0wOcpDOeklPb0eaqD+IK95Kp 3ChvyR6iW2beGqu76YAPGp5FE062Oc8AHhwnZ3cAzhcbpYi6gPNxQXyPXR9P XxfNRoSkf8UURhg6VV9rvpa1GnK3fJu4r+vbyY+0DTKaTksj3vVJnWlcTl1p Qh6yJ63S9q7YCmRYht63P4Z2lP.Yhd2UxgplhAnljKpZhupTyoXC9phMWN0j O.1TbwTS1.TS5ESMX7PBbt1zy+adkufHot9AlRenOAoX273dITJNeLbKW3uE 5wP24XZ8Oajq2dZz+TBuS7. -----------end_max5_patcher-----------
The second is very similar but attempting to capture two videoplanes instead.
----------begin_max5_patcher---------- 903.3oc0X1sjZCBEG+Z8ofIW6lABlOrWYeI5Mc53fFTYmHjB3511Ye2Kbvrq 6VMlcWqSbbjLgPf+meb3vg7mgChlqdjahPeA8czfA+Y3fAPU9JFr+9AQaXOt nhYflEcuvFWuSHKU6hFEdtZqshas+plG5nnnQt+ner+w0L6h0B4pYZ9BanEi wowoiPIoYw3QnBruLyU976HJgASM+96H4Miib6FgzMRfPHuTYX7gZS7U9zvg 9hQczh1vMF1JdynX4OBpLRyYknR0u453MpGNsw1lgRoShSbVJYRh2FmP8kjh SXoYMCxRkzJYafgH5qZAq5vmXD+FdBw2mGAMIGEMjO.Zj7cNg8Ojw6C7SqmJ B9I4hqQy1vrZwim0cfljCTJIg.dBE9xjS4OfuLT5x4.0BkVUE+fnjqpqXRNx tVXPScPYVoX4xsFNBGWT3JvSbEHRLZpYAqxWM08OAQPSqUFgUnj9l5aDN9xP 7Bf3zBviLcL3d5w+QQd5QQ9235Rlj0yg9TqlIMKU5MN62vsnjlWpRH4KTak1 CWz74nJIrZmhigE8vEZ1In53aXpVq4tE+6tlzMkj+dnK8VitRU4AbcAq1tUy 8g.7hGhcz5J+UUy78n6c.RdVeU7D+R97Pr1bZqq+I+eYI8+eP2CiqReUb06v w4Wv.q4gP.TZtmnzrwsA1jaJezPVeu3hZVyz7x8vDQvXWdc3SBw4L4pymXHj .PRVJbIkzVh.E2V4An4xRttgdeNLQRAuKBsHbo0Uu8v.gV0pUUmN0QgeSi17 RBqs.uCJto7X19jnm6Esyxsb8LtjMuBFo2gQdASd1hl69w0LC+rNAMWCs97H YB3Ojm0l6P9MSr7e5lvzJTZ6X57TIbdhrVoR1khJWkCesOR7zkFFyG+sIR7m L3aHnRvIhLo0ctt4xcMD98h.n8Qcw3VyYp+AHl0p2JNDPy1IJsq8ODVi7Q9B G6YRVWXRmNFoWkP8KqTLqvOs7Yg0gq9.cAGN4Me1Kv170+ZBZTa0KZHw9sTP uXckbiSiLeljGzlrW0l0hxRt7vcbJEF+lP.YvGclrqpIuCpgdUUSRuRMjynF +WSpGMUQ5USUWO0j0A1je0TSZGTy3qlZHcANWQ+XBoK5YbOSOWuvNuYp335I oeIGRdOSOoeP8D1dmUW+.Wa12mfTboBcuBRrHaDbqPFtE5wH+oxaZe5Peu8z v+h.sDVG -----------end_max5_patcher-----------
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?
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.
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.
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.
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.
I have a MacBookPro5,3 as well and the patch seems to work… (but Max 6.0.8)
Forums > Jitter