hi! i need some advice in my patch. i would like to recreate the whole section in left, but using open gl. i v started something, on the right side of mypatch, but i have stuck. Big thanks for any help!
i have got another little question. now i am going, to use spot light (max 6), to glow only some parts of silhouette. when i send attribute lightning_enable 1 to jit.gl.videoplane i am again loosing resolution. i figured out, that videoplane also gets @dim, but when i resize it to 1280/720 it looks great, but the framrate is going down. shuldnt it be rendering by gpu? i dont understand it.. Do you know what could be wrong?
From your post, I wasn't sure if you were changing the texture's dim to 1280x720 or videoplanes. Your patch changes the texture's, which shouldn't cause any big slowdown. The videoplane's dim is for geometry, not image resolution, so it could be set to jit.gl.videoplane @dim 2 2 and be perfectly fine.
- you might want to consider using jit.gl.node for capturing to texture. It can be used to clarify what's going on in the patch and also automatically adapts the texture resolution to the windows be default. With a small resolution, the rendering is very blocky, but at fullscreen looks great.
- you might want to consider using jit.gl.mesh instead of jit.gl.sketch if you're drawing a ton of lines. It will be much much faster.