Results 1 to 2 of 2

Thread: OpenGL with split window

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2000
    no matter

    OpenGL with split window

    Hi! Could anybody tell me how to draw in
    several contexts at the same time if it's possible, and how to realize OpenGL with split window



  2. #2
    Member Contributor
    Join Date
    Mar 2000
    Austin, TX USA

    Re: OpenGL with split window

    I'm not sure about having multiple contexts. If you're talking in windows, I believe you can only have one rendering context, but perhaps that's only per thread or window.

    As far as a split screen, you can set up two different viewports, one for the top of the window and one for the bottom(if you want it split vertically). Say your window was 400x400. You can do the following:


    <render top image>


    <render bottom image>

    Hope that's what you were looking for...

Similar Threads

  1. how to split a shadow map by using FBO
    By chowchow in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 04-27-2008, 09:43 AM
  2. how to split agp memory
    By schwede in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 10-16-2002, 09:04 AM
  3. Split Screen on any platform?
    By coobr01 in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 06-06-2001, 10:02 PM
  4. GUI - Seperate/Split window
    By imported_miguel in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 12-04-2000, 01:29 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