fullscreen jit.window issues.

Peter Nyboer's icon

i'm encountering strange problems trying to set a window to 1024x768 on a 2nd screen. If I set the rect and even the size of the jit.window to specific values, the window doesn't always end up at these values (sometimes there are gaps around the edges of the window, showing desktop), and "getrect" and "getsize" show values that are different than what I set.

winXP, AMD 2.0Ghz, XFX nVidia 6800GS 256MB, latest drivers from nVidia.

thanks,

Peter.

Max Patch
Copy patch and select New From Clipboard in Max.

czesc.list's icon

silly answer but, why don't you use the fullscreen message to jit.window ?

Peter Nyboer's icon

I should have specified...
because I need to render GL contexts into textures/matrices. In order to do that you need to specify the screensize to be the same as the texture dim, otherwise GL complains. So if i do all the stuff in that patch, then send the message fullscreen 1, I can nolonger render to a texture.

P.

Joshua Kit Clayton's icon

FWIW, this fixed in next version.

In the meantime, what happens if you use the @size @pos attributes
instead of rect?

-Joshua

Peter Nyboer's icon

same problem with @size and @pos. I sent msgs pos -800 0 and size 800 600 but the window is placed, well, not at those coordinates. getrect, getpos, and getsize report:
print: rect -798 20 0 609
print: size 798 589
print: pos -798 20

Peter Nyboer's icon

however, even with those coordinates as reported, with some fussing, i can get the texture readback functioning