Results 1 to 3 of 3

Thread: Game Mode

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    UK
    Posts
    3

    Game Mode

    Hi, I'm a relative newcomer to OpenGL (I've gone through the SuperBible) and I'm learning by example through the various online tutorials. I've been going through Ashwin Subramanian's set of tutorials (the .chm ones from nehe.gamedev.net) and I wanted to try to add the new method for doing fullscreen mode (glutGameModeString and glutEnterGameMode) to the Visual C++ project files that these tutorials use but I can't get it to work correctly (I've got GLUT 3.7.3). I've seen the way other tutorials have handled this but they don't use the normal VC message handling structure that Ashwin's projects do. I can get it to flip mode but then it flips back to my normal window and the drawing has stopped. I know there are a lot of Windows fullscreen demos out there (I have them) but I really wanted to go through the standard Visual C++ route (unless that's a really bad idea?).

    Any help would be greatly appreciated.

    Thanks!

    Yvan.


    [This message has been edited by Yvan (edited 03-09-2001).]

  2. #2
    Senior Member Regular Contributor
    Join Date
    Aug 2000
    Location
    Ocoee, Florida, USA
    Posts
    150

    Re: Game Mode

    Your post is a little bit confusing... Do you want to use GLUT or not? You say "I've got GLUT..." and quote the functions, but then you say you want to go the "standard Visual C++ route" and NeHe's tutorials definately do not use GLUT, at least not the last time I looked at them.

    [This message has been edited by BwB (edited 03-09-2001).]

  3. #3
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    UK
    Posts
    3

    Re: Game Mode

    Hm, I guess I shouldn't have tried to phrase that question at 4 in the morning! Basically, I was trying examples out that used Visual C's Document-View framework. Specifically this was a simple tutorial from nehe.devnet.com on animation. Then I saw some GLUT code for drawing to a fullscreen based upon a simlpe string value. I tried to incorporate this into the tutorial code but had problems due to the D-V framework. I wondered if there was anyone who'd tried this out and got it to work. Failing that then I guess it is not a good idea to use this frame work and, instead, go with standard Windows coding with OpenGL over the top?

    Yvan.

Similar Threads

  1. Game mode need help
    By t3jem in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-27-2005, 10:12 AM
  2. To use the mode : Game Glut
    By Bahamut_france in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-06-2001, 04:23 AM
  3. Glut Game Mode?
    By pleopard in forum OpenGL: Basic Coding
    Replies: 10
    Last Post: 01-22-2001, 08:53 AM
  4. what is game mode?
    By slorac in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-13-2000, 11:07 PM
  5. Glut game mode
    By imported_Rob in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-22-2000, 09:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean