Results 1 to 2 of 2

Thread: fullscreen/control panel/subwindow/help?

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2002
    Posts
    5

    fullscreen/control panel/subwindow/help?

    Hi
    I would really appreciate any solutions you may have to my problem. Here's the background:
    For my game I've made a control panel using subwindows because I wanted to include a small display of what the opponent is doing and I couldn't think of any other way (the game is networked and basically there are 2 first person views, one large main one for me and one small display in the corner showing what my enemy sees).

    But glut doesn't allow subwindows in full screen mode and I'd really like to have both of these features (full screen is necessary because the intro is an avi, which is played first and I think it would be bad if the avi is full screen and the game has a big blue title bar at the top). Please help...I really appreciate this...

  2. #2
    Member Newbie
    Join Date
    Oct 2000
    Location
    Phoenix, AZ, US
    Posts
    31

    Re: fullscreen/control panel/subwindow/help?

    One way to do it is draw your view over the whole screen, then if you want to draw the opponent view call glViewport to define the size of the small view window you want. Now draw the opponent view. This way you get the window effect.

    Remember that the apect ratio of the View port should be the same as the aspect ration of the view volume (i.e. gluPerspective(fovy, aspect, near, far))

    Just one way to do it.

Similar Threads

  1. Opengl camera control GUI instead of mouse control
    By zhar22 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-17-2013, 09:35 AM
  2. VSync: control panel vs wglSwapIntervalEXT
    By knackered in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 05-16-2003, 12:17 AM
  3. Fullscreen can't control menu
    By in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 11-12-2002, 03:38 AM
  4. OpenGL/D3D Control Panel Missing on Detonator Driver
    By dtessler in forum OpenGL: User Software
    Replies: 0
    Last Post: 01-15-2001, 07:37 AM
  5. A control Panel for opengl
    By RolDeR in forum OpenGL: General
    Replies: 1
    Last Post: 10-02-2000, 08:24 AM

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