How to capture jit.world in OBS with GL3

Jon QBRD's icon

Hello,

I must be daft because I cannot figure out the proper incantation to send video from Max via Spout when using GL3.

How do I capture jit.world output in OBS? My understanding is that--for reasons I don't understand--obs has no way to capture the Jitter window, so you have to use Spout (on Windows).

In the past, all I had to do was "@output_texture 1" on the jit.world, and hook that up to a "jit.gl.spoutsender @sendername fooBar", however, when I create the jit.gl.spoutsender object, my Jitter window goes blank. I toggle the buttons I get a flash of my render and the error message:

jit.gl.mesh: jit_gl_tf bind: GL Error: Invalid operation
jit.gl.tf: error binding transform feedback, disabling

I followed this awesome tutorial from Amazing Max Stuff: https://www.youtube.com/watch?v=4JDbAwiswGo

My patch works great, IF you delete the spoutsender object.

I've attached it below, but you probably won't be able to use it as it's unable to find the GPU_particles.jsx file. I was just trying to rename it as a different version but had to save an entirely separate project, if you paste the patcher below in you get the same "can't find GPU_particles.jsx" and there's no way to get it to load my jsx file attached below.

What gives, what am I doing wrong?

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

GPU_particles.jsx.txt
text/plain 1.76 KB

Jon QBRD's icon

Nevermind, no matter what project I open it says it can't find GPU_particles.jsx anymore.

I'm not starting over, but there's no way to delete a post or mark it as solved.

Jon QBRD's icon

Well it seems if you name the spoutsender the same name as your jit.world and pick the right size, it works...

Is there a list of acceptable jit.world sizes somewhere? I would think normal screen resolutions, e.g. 720x480 would work, but it does not. 640x360 works. 320x240 does not. It seems arbitrary? 321x142 works. 322x150 does not.

I was able to copy and paste the content of the shader into the updated patch... I'm amazed that there's no way to manage these files though.

Rob Ramirez's icon