<div id="result_box" dir="ltr">Hi,<br><br><div style="text-align: left;" id="result_box" dir="ltr">How&nbsp; as you connect the pipeline VTK with OpenGL?<br></div><br></div>Regards,<br>Paulo<br><br><br><br><div class="gmail_quote">
2008/12/21 Utkarsh Ayachit <span dir="ltr">&lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Please keep the conversation to the mailing list so that others can<br>
contribute as well.<br>
<br>
You can in-place modifify vtkPolyDataMapper::Render(...)<br>
<br>
Utkarsh<br>
<br>
On Thu, Dec 18, 2008 at 12:05 PM, Amine SAHTARI &lt;<a href="mailto:msahtari@gmail.com">msahtari@gmail.com</a>&gt; wrote:<br>
&gt; Yes, i want just to do it per actor. That why I need to copy and modify<br>
&gt; vtkPolyDataMapper.<br>
&gt; I would like to know where in the code of vtkPolyDataMapper, I need to<br>
&gt; disable ztest ?<br>
&gt;<br>
&gt; your help is very appreciated.<br>
&gt;<br>
&gt;<br>
&gt; 2008/12/18 Utkarsh Ayachit &lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;<br>
<div><div></div><div class="Wj3C7c">&gt;&gt;<br>
&gt;&gt; That sounds like a plan if you want to enable/disable ztest per actor<br>
&gt;&gt; level. If that&#39;s for the entire scene I&#39;d do it in vtkOpenGLRenderer.<br>
&gt;&gt;<br>
&gt;&gt; Utkarsh<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Dec 18, 2008 at 9:51 AM, Amine SAHTARI &lt;<a href="mailto:msahtari@gmail.com">msahtari@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Thank you Utkrsh for your answer. I really appreciate it.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I guess that I should copy and modify my vtkPolyDataMapper.I would just<br>
&gt;&gt; &gt; to<br>
&gt;&gt; &gt; know where in vtkMyPolyDataMapper code, I should disable the Z-buffer by<br>
&gt;&gt; &gt; using : glDepthMask(GL_False);<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I am not sure that it is the best way to do that.<br>
&gt;&gt; &gt; Any suggestions ?<br>
&gt;&gt; &gt; Please correct me if I am wrong.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Amine<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 2008/12/18 Amine SAHTARI &lt;<a href="mailto:msahtari@gmail.com">msahtari@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Hi experts,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I would like to know how to turn off Z-Buffer (Depth) using<br>
&gt;&gt; &gt;&gt; vtkPolyDataMapper. Is there an option ? or shall I modify the code of<br>
&gt;&gt; &gt;&gt; vtkPolyDataMapper ?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Looking forward to hear from you soon.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Thanks in advance,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Amine<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; This is the private VTK discussion list.<br>
&gt;&gt; &gt; Please keep messages on-topic. Check the FAQ at:<br>
&gt;&gt; &gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><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>