Forums > Jitter

aspect ratio & resizing issue

May 2, 2013 | 1:25 pm

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!


May 2, 2013 | 3:56 pm

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.


May 3, 2013 | 4:26 pm

Thanks Rob, but it doesn’t work very well.
Can you help me with the math please?


May 3, 2013 | 6:14 pm

what’s not working with cornerpin?
post your patch.


Viewing 4 posts - 1 through 4 (of 4 total)