Results 1 to 2 of 2

Thread: creating multiple windows?

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2001
    Location
    CA
    Posts
    1

    creating multiple windows?

    Greetings,

    I would like to know any resources out there that can teach me on how to create multiple windows in openGL (i.e. 3 different representations of data/solution at the same time on 3 connected but separate windows)

    Thanks for any info

  2. #2
    Senior Member Regular Contributor
    Join Date
    May 2000
    Location
    Oxford, England
    Posts
    472

    Re: creating multiple windows?

    If you're using glut, create a second window in exactly the same way as before - make sure that you provide seperate callbacks for your display & reshape functions. (plus mouse keyboard etc...).

    order goes like :

    createWindow 1

    glutDisplayFunc( win1Display );
    glutReshapeFunc( win1Reshape );

    createWindow 2

    glutDisplayFunc( win2Display );
    glutReshapeFunc( win2Reshape );

    ...

    if using MFC or any other API, then let us know and you'll be given your answer.....

Similar Threads

  1. How to create multiple windows on multiple displays with GLFW
    By Wally Lee in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 06-30-2017, 09:52 AM
  2. creating multiple windows using glfw
    By imranrobotics in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 07-28-2012, 06:16 PM
  3. Replies: 4
    Last Post: 01-30-2006, 03:25 PM
  4. Creating a ChaseCamera in OGL & Creating multiple cameras
    By Nuno Miguel Silva in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 08-03-2004, 12:45 AM
  5. 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

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