thanks , it works indeed



Shawl

From: Alistair Baxter
Date: 2012-11-05 17:26
To: OpenSceneGraph Users
Subject: Re: [osg-users] how to turn on the quad buffered feature.
You need to ensure your OpenGL context is created with Quad-buffers enabled �C 
the DisplaySettings call just turns on their use if they’re there, it doesn’t 
create them.  You’ll need to set the quadBufferStereo flag in the 
GraphicsContext traits before you create it, or if you’re using Qt as I am, 
call setStereo(true) on the QGLFormat object passed to the GLWidget 
constructor. 
From: [email protected] 
[mailto:[email protected]] On Behalf Of wh_xiexing
Sent: 05 November 2012 06:50
To: osg-users
Subject: [osg-users] how to turn on the quad buffered feature.
 
i want to use the stereo feature of osg. 
 
osg::DisplaySettings::instance()->setStereoMode(mode);
osg::DisplaySettings::instance()->setEyeSeparation(0.01*value);
 
where mode is osg::DisplaySettings::QUAD_BUFFER .  but it doesn't work.
 
my graphic card is the most recent  quadro k4000M.  do i need to set something 
in the nvidia panel ?
 
thank you very much



Shawl    
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to