aspect ratio & resizing issue

May 2, 2013 at 1:25pm

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!

#68051
May 2, 2013 at 3:56pm

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.

#244481
May 3, 2013 at 4:26pm

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

#244482
May 3, 2013 at 6:14pm

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

#244483

You must be logged in to reply to this topic.