<div id="result_box" dir="ltr">Hi,<br><br><div style="text-align: left;" id="result_box" dir="ltr">How 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"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></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 <<a href="mailto:msahtari@gmail.com">msahtari@gmail.com</a>> wrote:<br>
> Yes, i want just to do it per actor. That why I need to copy and modify<br>
> vtkPolyDataMapper.<br>
> I would like to know where in the code of vtkPolyDataMapper, I need to<br>
> disable ztest ?<br>
><br>
> your help is very appreciated.<br>
><br>
><br>
> 2008/12/18 Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>><br>
<div><div></div><div class="Wj3C7c">>><br>
>> That sounds like a plan if you want to enable/disable ztest per actor<br>
>> level. If that's for the entire scene I'd do it in vtkOpenGLRenderer.<br>
>><br>
>> Utkarsh<br>
>><br>
>> On Thu, Dec 18, 2008 at 9:51 AM, Amine SAHTARI <<a href="mailto:msahtari@gmail.com">msahtari@gmail.com</a>> wrote:<br>
>> > Thank you Utkrsh for your answer. I really appreciate it.<br>
>> ><br>
>> > I guess that I should copy and modify my vtkPolyDataMapper.I would just<br>
>> > to<br>
>> > know where in vtkMyPolyDataMapper code, I should disable the Z-buffer by<br>
>> > using : glDepthMask(GL_False);<br>
>> ><br>
>> > I am not sure that it is the best way to do that.<br>
>> > Any suggestions ?<br>
>> > Please correct me if I am wrong.<br>
>> ><br>
>> > Amine<br>
>> ><br>
>> ><br>
>> ><br>
>> > 2008/12/18 Amine SAHTARI <<a href="mailto:msahtari@gmail.com">msahtari@gmail.com</a>><br>
>> >><br>
>> >> Hi experts,<br>
>> >><br>
>> >> I would like to know how to turn off Z-Buffer (Depth) using<br>
>> >> vtkPolyDataMapper. Is there an option ? or shall I modify the code of<br>
>> >> vtkPolyDataMapper ?<br>
>> >><br>
>> >> Looking forward to hear from you soon.<br>
>> >><br>
>> >> Thanks in advance,<br>
>> >><br>
>> >> Amine<br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > This is the private VTK discussion list.<br>
>> > Please keep messages on-topic. Check the FAQ at:<br>
>> > <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>
>> ><br>
>> ><br>
><br>
><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>