jit.pwindow aspect ratio
Hey guys, I'm struggling to find a way how to preserve the aspect ratio of an incoming texture with jit.pwindow. I'd like to see the black bars appropriate to the video file's ratio regardless of the sizing of the pwindow itself. I've read through many of the forum topics and tried many things from jit.gl.videoplane to playing around with jit.gl.texture srcdims and dstdims, but nothing worked out the way I wanted to so far. There must be something very simple I haven't thought about. Can anyone help me?
Cheers
VIEWR from the Vizzie package does it (click the V in the left sidebar -> OUTPUT -> VIEWR). You can simply use the viewr object instead of jit.pwindow, or see how its made inside of the original viewr patcher and replicate it. It uses an intermediate [jit.gl.layer @blend_enable 0 @preserve_aspect 1].