aspect ratio & resizing issue
I'm dividing my video with jit.gl.slab & td.resample.jxs, so I can render into two different jit.windows for multi projection.
But when I change the size of the window to fullscreen the video doesn't fit the screen anymore.
How do I have to handle the td.resample.jxs coords correctly to automatically fit the screen?
Any hel will be much appreciated!
jit.gl.cornerpin has a feature attribute called @preserve_aspect that may be of use for you.
otherwise you have to do the math yourself.
Thanks Rob, but it doesn't work very well.
Can you help me with the math please?
what's not working with cornerpin?
post your patch.