<div dir="ltr"><p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">Hi,</span><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif"></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">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.</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">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?</span></p><p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"><br>
</span></p><p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">So, the reason why I mention it is that I guess this is the reason why I'm experiencing problems.</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">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.</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">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.</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">I thought first I've made a mistake and then I've
tried to use the interlaced mode but it crashes as well. </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">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.</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">Am I missing a setting on VTK that will cause the renders
to re-render to the exact window size?</span></p><p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"><br></span></p><p class="MsoNormal" style="margin-bottom:0.0001pt">
<span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">Is it possible to move this function under vtkOpenGLRenderWindow and do the whole mixing in shader language ?</span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">Any help appreciated.</span></p><p class="MsoNormal" style="margin-bottom:0.0001pt"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"><br>
</span></p>
<p class="MsoNormal">-Marco</p></div>