Message 1 of 1
Active stereo display with MPx3dModelView / custom viewport?

Not applicable
11-15-2012
05:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone.
I'm currently writing a plug-in (Maya213, C++) that's supposed to display a active stereo 3D viewport (ModelView) on a second monitor (ie: stereo display).
But there seems to be something I'm missing:
> I got Maya to display active stereo on the 3d-display, so drivers and settings are OK.
> My MPx3dModelView derived custom modelView displays normally in a separate window.
> My modelView requests quadbuffering (MPx3dModelView::wantStereoGLBuffer()
> ... it gets Quadbuffering (MPx3dModelView::hasStereoBufferSupport() returns true).
> ... I set stereo mode (MPx3dModelView::setInStereoDrawMode(), no error).
> ... I can switch between the buffers (glDrawBuffer(GL_RIGHT), and the value is correct when queried).
But I only see the Left-Eye picture.
The documentation is really bad on this topic. Did someone get it to work?
Do I have to change the stereo display mode ("anaglyph", "active", "left", ...) and if so: how do I do it?
Is it only possible within the Maya layout or with QT-windows?
Do I have to use "stereoCameraCustomPanel", and if so: how do I use it? Where is the documentation on this?
Please help, if you have some ideas.
I'm currently writing a plug-in (Maya213, C++) that's supposed to display a active stereo 3D viewport (ModelView) on a second monitor (ie: stereo display).
But there seems to be something I'm missing:
> I got Maya to display active stereo on the 3d-display, so drivers and settings are OK.
> My MPx3dModelView derived custom modelView displays normally in a separate window.
> My modelView requests quadbuffering (MPx3dModelView::wantStereoGLBuffer()
> ... it gets Quadbuffering (MPx3dModelView::hasStereoBufferSupport() returns true).
> ... I set stereo mode (MPx3dModelView::setInStereoDrawMode(), no error).
> ... I can switch between the buffers (glDrawBuffer(GL_RIGHT), and the value is correct when queried).
But I only see the Left-Eye picture.
The documentation is really bad on this topic. Did someone get it to work?
Do I have to change the stereo display mode ("anaglyph", "active", "left", ...) and if so: how do I do it?
Is it only possible within the Maya layout or with QT-windows?
Do I have to use "stereoCameraCustomPanel", and if so: how do I use it? Where is the documentation on this?
Please help, if you have some ideas.