<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 23, 2014 at 7:58 AM, Marco Lopes <span dir="ltr"><<a href="mailto:marco.lop3s@gmail.com" target="_blank">marco.lop3s@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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></div></blockquote><div><br></div><div>What stereo method you are using? Some of them are directly performed on the GPU and some CPU (We have to do that for Checkerboard, Split horizontal etc).  </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><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></div></blockquote><div><br></div><div>I see. This is strange. I have never seen this issue before. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">

<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></div></blockquote><div><br></div><div>This is ParaView?  </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<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></div></blockquote><div><br></div>
<div>You can do that but then it won't work on older systems most likely.  </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">

<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><span class="HOEnZb"><font color="#888888"><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></font></span></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer         <br>| Kitware Inc.            <br>| <a href="http://www.kitware.com">www.kitware.com</a>    
</div></div>