Hello Florent,

On 04/26/2011 07:53 AM, Florent Berthaut wrote:
> But I am having problems with the quad buffered stereo (with a Quadro FX
> 3700 and Nvidia Vision).
>
> As usual, I use two StereoBufferViewPorts.
>
> When I run the application, and only if I deactivate the opposite
> buffers (setLeftBuffer(false) on right viewport ...) , I get this
> warning over and over:
>
> OSGLightChunk.cpp, 136 : light:activate:precheck failed: invalid
> operation (0x502) .

the fact this comes from OSGLightChunk is probably a bit of a red 
herring here, it is most likely just the first time glError() gets 
called after the real problem occurs.

> It doesn't crash the application but i think it slows it down a lot.

yes, it can hurt quite a bit.

> What can I do to prevent that ?

the man page for glReadBuffer 
(http://www.opengl.org/sdk/docs/man4/xhtml/glReadBuffer.xml) says it 
will generate GL_INVALID_OPERATION if used with a buffer that does not 
exist. Are you certain to request (and get) a stereo capable OpenGL context?
If that is not the problem, could you try running your application under 
an OpenGL debugger (e.g. bugle, glIntercept, gDEBugger) to find the GL 
call that causes the error?

        Cheers,
                Carsten

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to