PDA

View Full Version : Fullscreen over 2 monitors



Cris000
11-23-2010, 05:17 AM
Hi,

I want to view my application in fullscreen over two monitors. Is this possible?

When I set my application to "glFullScreen()" it is only fullscreened on primary monitor.

What else must I insert in my code to view it over two monitors in fullscreen?
Please help me.

ZbuffeR
11-23-2010, 07:38 AM
glFullScreen is not an OpenGL command.
What is your OS, video card and code framework ?

Cris000
11-23-2010, 08:25 AM
of course I mean glutFullScreen. Sorry.
I work on Win 7, but I can switch to Linux if it only works there. I have a QuadroFX 380.

Does it work with a lower card? for example Geforce 9300M GS`?

I don't know what you mean with code framework? I use OpenGL, nothing else.

aqnuep
11-23-2010, 09:06 AM
He meant GLUT I think. Anyway, GLUT is quite old and I'm pretty sure it does not support multi-display full screen modes.
You should either try to find a more appropriate framework or just write your own window handling from scratch.

mhagain
11-23-2010, 09:10 AM
I don't know what you mean with code framework? I use OpenGL, nothing else.
GLUT isn't OpenGL, it's a framework for handling windowing, input, etc (none of which are part of OpenGL) which is built around OpenGL.

Cris000
11-23-2010, 11:03 AM
Yes, I use GLUT

Cris000
11-24-2010, 12:38 AM
And how can I do fullscreen over two monitors now?

aqnuep
11-24-2010, 01:54 AM
As I already mentioned, if I'm correct, GLUT is not capable of it. You should either use a better framework or write your own.

Cris000
11-24-2010, 07:01 AM
I got it. Is is possible via Game Mode:

glutGameModeString("3200x1200:24@60");
glutEnterGameMode();

Done. Thanks for your help.

aqnuep
11-24-2010, 08:01 AM
Good to know that. Then I'll never again underestimate the capabilities of GLUT :D