Results 1 to 3 of 3

Thread: multiple glut windows

  1. #1
    Member Contributor bsperlin's Avatar
    Join Date
    Feb 2001
    Location
    VA
    Posts
    67

    multiple glut windows

    Hello,
    I've been trying to make multiple windows this way:

    Left = glutCreateWindow(...
    Right = glutCreateWindow(...

    to have two glut windows open simultaneously, then render into each as I wish. I've already made 2 viewports in a single window but I need Windows for that when I spread it across dual monitors. I believe things will be easier if I could have 2 glut windows instead. How do I choose them and render into them?
    Thanks,
    Barry

  2. #2
    Member Newbie
    Join Date
    May 2001
    Posts
    39

    Re: multiple glut windows

    glutSetWindow sets the current window

  3. #3
    Member Contributor bsperlin's Avatar
    Join Date
    Feb 2001
    Location
    VA
    Posts
    67

    Re: multiple glut windows

    Thanks Boresight! That was what I needed. A friend just sent me this link to a program that uses it:
    http://trant.sgi.com/opengl/toolkits.../examples.html

    Now I've gotten 2 full windows, each on a separate monitor with the left stereo view on the left monitor, etc. Now, I have a little "update" problem where the right screen is not clearing, but "that is just a simple matter of programming", right?
    Next I'll hook each output up to a separate projector and try to view stereo on a large screen.
    Thanks, again,
    Barry

Similar Threads

  1. Rendering to Multiple Windows using glut
    By McLeary in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 11-15-2010, 06:49 PM
  2. glut multiple windows general
    By true_atlantis in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 09-04-2005, 04:19 PM
  3. Multiple windows with GLUT tutor
    By nexusone in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 02-24-2003, 03:56 PM
  4. 0n multiple glut/opengl windows in multiple threads
    By kaas in forum OpenGL: Advanced Coding
    Replies: 11
    Last Post: 05-30-2002, 01:55 AM
  5. Opening multiple windows through GLUT
    By saileshksaha in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 06-26-2001, 11:54 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