Forums > Jitter

keep original frame ratio in fullscreen mode with [jit.window]

June 18, 2006 | 6:02 pm

Hi,
Sorry if it’s an obvious issue already discussed on the list.
Surprisely, I didn’t found anything related in the archive:

Is there a way with [jit.window] to get fullscreen and keep the
original image ratio? A bit like seeing a widescreen frame on a square
TV, leaving black stripes on top and bottom of image. I want to keep
the original 1024X685pixel frame ratio of my movies when I need a
fullscreen projection.

I use Jitter 1.2.4

Thanks for any help or hints!
pc


June 18, 2006 | 6:26 pm

There is @rect attribute for jit.window.
Cheers,
Gary Lee Nelson
TIMARA Department
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson


June 18, 2006 | 9:42 pm

actually, it doesn’t affect the fullscreen function behavior.
The image is just distorted to fill all the screen.
I tried to send again the rect message after the fullscreen call as
well… doesn’t work.
Do I really need to put my movies into a bigger "square framed" matrix
that fit with my projectior ratio to avoid that?

thank for your help!
pc


June 18, 2006 | 9:58 pm

You can keep the ratio the same yourself by using the
jit.gl.videoplane object and the scale attribute. If you need to mask
something to make it look like a letterbox, then just draw 2 black
quads in the properl locations very close to your camera.

best,
wes


June 19, 2006 | 1:29 am

Alternatively, you can use a black desktop background, and explicitly
define jit.window’s @size and @loc attributes, (and then hide the
title bar)

–deKam


June 21, 2006 | 8:01 pm

Thank you for all your advices!
The [jit.gl.videoplane] way seems more cpu intensive than using [jit.window].

Really surprising that it’s so complicated to get a non-distorted
fullscreen fonction. It’s a natural feature I guess… In any image
software such as those from Adobe give this fullscreen feature!

my 2 cents.

pc

On 6/18/06, dekam wrote:
>
> Alternatively, you can use a black desktop background, and explicitly
> define jit.window’s @size and @loc attributes, (and then hide the
> title bar)
>
> –deKam
>
>
> On Jun 18, 2006, at 5:58 PM, Wesley Smith wrote:
>
> > You can keep the ratio the same yourself by using the
> > jit.gl.videoplane object and the scale attribute. If you need to mask
> > something to make it look like a letterbox, then just draw 2 black
> > quads in the properl locations very close to your camera.
> >
> > best,
> > wes
> >
> > On 6/18/06, P C wrote:
> >> actually, it doesn’t affect the fullscreen function behavior.
> >> The image is just distorted to fill all the screen.
> >> I tried to send again the rect message after the fullscreen call as
> >> well… doesn’t work.
> >> Do I really need to put my movies into a bigger "square framed"
> >> matrix
> >> that fit with my projectior ratio to avoid that?
> >>
> >> thank for your help!
> >> pc
> >>
> >> > There is @rect attribute for jit.window.
> >> > Cheers,
> >> > Gary Lee Nelson
> >>
> >
> >
>
>


February 21, 2011 | 11:39 am

>>>Alternatively, you can use a black desktop background, and explicitly define jit.window’s @size and @loc attributes, (and then hide the title bar)

–deKam"

How would one do to hide the title bar in this case?


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