[vtk-developers] Stereo on vtkRenderWindow::StereoRenderComplete resize problem

Marco Lopes marco.lop3s at gmail.com
Thu Jan 23 07:58:35 EST 2014


Hi,



I'm adding a new stereo option for VTK/Paraview and as I'm new to both, I
was a bit surprised when I saw how the merging is being doing.



In the first place I don't understand why it's done using the CPU when the
whole VTK is based on OpenGL rendering, perhaps it's QT related?


So, the reason why I mention it is that I guess this is the reason why I'm
experiencing problems.



I'm developing under Windows VS2010 and I've implemented the new mode for
an auto stereoscopic display and this mode is based on sub-pixel
multiplexing the image. Everything looks fine on the implementation as it
was quite straightforward.



However when I've tested it, I’ve noticed that the resizing the window
causes the result to interpolate and of course it destroys completely the
stereo format I want to use. I also noticed that further resizing the
window causes the whole application Paraview to crash.



I thought first I've made a mistake and then I've tried to use the
interlaced mode but it crashes as well.



As long the window is not resized, interlaced mode seems to work well which
is strange for me as the interpolation should destroy this stereo mode as
well.



Am I missing a setting on VTK that will cause the renders to re-render to
the exact window size?


Is it possible to move this function under vtkOpenGLRenderWindow and do the
whole mixing in shader language ?



Any help appreciated.


-Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtk-developers/attachments/20140123/240d0159/attachment.html>


More information about the vtk-developers mailing list