Results 1 to 3 of 3

Thread: Stereo, pfd, buffers,...

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2009
    Posts
    1

    Stereo, pfd, buffers,...

    Hi,

    I'm trying to reinitialize the pixel format to activate PFD_STEREO in a window already created without PFD_STEREO. But it seems to be impossible.

    In that case, without PFD_STEREO, can I draw in right/left buffer ?

    Is there another solution ?

  2. #2
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001
    Location
    Germany
    Posts
    1,931

    Re: Stereo, pfd, buffers,...

    You cannot set the pixel format of a window twice. The solution is to destroy the window and create a new one.

    Or you can emulate stereo by creating an FBO with two rendertargets and then applying the appropriate projections to both. Unfortunately I have no idea about stereo rendering, so I can't get more specific.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Dec 2000
    Location
    Reutlingen, Germany
    Posts
    2,042

    Re: Stereo, pfd, buffers,...

    You cannot do stereo rendering (ie. sending two different images to two different output devices) without the PFD_STEREO flag.
    GLIM - Immediate Mode Emulation for GL3

Similar Threads

  1. Why left and right buffers for stereo?
    By James W. Walker in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-11-2009, 04:58 PM
  2. Replies: 1
    Last Post: 09-26-2003, 05:20 AM
  3. Quad buffered stereo : how fast is changing draw buffers?
    By knackered in forum OpenGL: Advanced Coding
    Replies: 11
    Last Post: 01-20-2003, 01:28 PM
  4. Quad-Buffered stereo --> using only 2 buffers
    By PhilY in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 07-15-2002, 06:26 AM
  5. stereo and auxiliary buffers
    By Moz in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-28-2000, 09:08 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