<div dir="ltr">glIntercept is fine. You may want to try gDEBugger (<a href="http://www.gremedy.com/free_license.php">http://www.gremedy.com/free_license.php</a>) or Nsight (<a href="http://www.nvidia.com/object/nsight.html">http://www.nvidia.com/object/nsight.html</a>) if it helps. <div>
<br></div><div>Can you describe your setup in bit more detail and what calls you are making on vtkRenderer and vtkRenderWindow. <br><div><br></div><div>- Aashish</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Feb 5, 2014 at 11:03 AM, Oskar Kirmis <span dir="ltr"><<a href="mailto:kirmis@st.ovgu.de" target="_blank">kirmis@st.ovgu.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Thanks for the reply.<br>
<br>
Yes, we're using anaglyph stereo.<div class="im"><br>
<br>
> Would it be possible for you to create a tiny example that
can replicate the issue you have are having? I am<br>
> assuming that you are doing anaglyphic stereo rendering? I
can look into the code<br>
> but it would be so much easier if we have some example. <br>
<br></div>
That might not be so easy as the bug currently occurs in a huge
software project. Creating a small example might not be so easy as
I don't really know vtk and opengl. We're just trying to fix bugs
in older code.<br>
<br>
But maybe you have some ideas where we could look for. Maybe
something (buffers, flags, ...) was not cleared correctly?<br>
I am currently trying to find the problem using glIntercept. Or do
you have any other tipps for debugging opengl?<br>
<br>
Again, thank you.<br>
<br>
Am 05.02.2014 16:05, schrieb Aashish Chaudhary:<br>
</div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Would it be possible for you to create a tiny
example that can replicate the issue you have are having? I am
assuming that you are doing anaglyphic stereo rendering? I can
look into the code
<div>but it would be so much easier if we have some example. </div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Feb 5, 2014 at 10:01 AM, Oskar
Kirmis <span dir="ltr"><<a href="mailto:kirmis@st.ovgu.de" target="_blank">kirmis@st.ovgu.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Yes, that is correct.<br>
<br>
Am 05.02.2014 15:03, schrieb Aashish Chaudhary:<br>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Feb 5, 2014 at
4:23 AM, Oskar Kirmis <span dir="ltr"><<a href="mailto:kirmis@st.ovgu.de" target="_blank">kirmis@st.ovgu.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there,<br>
<br>
it took some time to test everything you
suggested as I didn't have much time for it.
It turns out that stereo rendering is
disabled using the methods mentioned here,
but I ran into some other strange,
stereo-related problems in rendering. When I
now render any 2D objects with stereo
enabled in the render window but disabled in
the camera, the first object has is rendered
in stereo. Once I add a 3D poly data object
to the renderer, everything is fine and the
2D object is rendered non-stereo. When I
then remove the 3D object, the problem
appears again.<br>
<br>
</blockquote>
<div><br>
</div>
<div>Just to make it clear: </div>
<div><br>
</div>
<div>You have 2D object -- You get stereo but
you want mono</div>
<div>You add 3D object to the scene - You get
stereo and 2D is rendered in mono</div>
<div>You remove 3D object - you get stereo for
your 2D scene</div>
<div><br>
</div>
<div>Now I am assuming your 2D and 3D scene
are part of different renderer? </div>
<div><br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I don't know
how vtk works internally but for me it seems
like clearing a property is missing. Any
hints?
<div>
<div><br>
<br>
Oskar<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>
Please keep messages on-topic and check
the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to
subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div>
</div>
</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" target="_blank">www.kitware.com</a>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</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>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><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" target="_blank">www.kitware.com</a>
</div>
</blockquote>
<br>
</div></div></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>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><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>