PDA

View Full Version : full-screen mode



MichaelK
01-15-2001, 10:56 AM
i wonder if exists some way to swiych to full-screen mode. now i have to maximize the window and make its style to None (without taskbar). i heard that graphics works well in full screen.

ZeeBoy
01-15-2001, 12:45 PM
Yes u r write the graphics r better and run faster in fullscreen mode.

to make full screen if u r using glut all u do is add glutFullScreen; in at the initialisation part of your code.

however it is abit harder if u r using win32 in which case i sudgest u look at the first tutorial on the nehe site http://nehe,gamedev.net

Zee

ngill
01-15-2001, 08:59 PM
glutgamemode() is good for this! it changes the resolution AND fullscreens it http://www.opengl.org/discussion_boards/ubb/smile.gif... I like this better than a fullscreen at 1280x1024...

Moz
01-16-2001, 03:21 AM
Nehe's tutorial 1 explains how to change resolution and switch to fullscreen mode w/ the Win32 API. http://nehe.gamedev.net/tutorials/lesson01.asp

grady
01-16-2001, 04:49 AM
Hey ngill, how do you use the glutgamemode() function? is it in 3.7?

grady
01-16-2001, 04:53 AM
You can put glutFullScreen(); in the main loop too.

Moz
01-16-2001, 05:48 AM
Yes glutGameMode is in glut 3.7.
You can find a tutorial here : http://www.dev-gallery.com/programming/opengl/index.htm

MichaelK
01-16-2001, 08:11 AM
OK, thanx