<div dir="ltr">For (1) Make sure you set yourRenderWindow->SetMultiSamples(0) before the first render, that could be the issue. Not sure about flickering and lagging but if you have a nvidia card make sure you open the nvidia control panel and set your preferred graphics processor to be the high performance nvidia processor and set vertical sync to Off (I forget which it is). Apply those settings and then try again.<div><br></div><div>2) the clipping should clip whatever is in the scene. Changing it to clip only some actors is not supported. You would need to look at the code in vtkOpenVRInteractorStyle.cxx and see how we do the clipping and then use similar logic in your code.</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 5, 2017 at 7:52 AM, Denis Ducreux <span dir="ltr"><<a href="mailto:denis.ducreux@icloud.com" target="_blank">denis.ducreux@icloud.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I’m quite new to VTK coding ; I downloaded and compiled the last git master version and I would like to know :<br>
<br>
1- When using Volume Rendering (such as in Medical4 example) in OpenVR, no volume is displayed at all in the VR Headset. When I try to add for example legacy .vtk files (in polydata) to the scene, the whole rendering is flickering, and the volume rendering is not displayed, but the polydata are displayed with flickering and lagging.<br>
<br>
2- When using the OpenVR rendering, it is possible to clip the whole scene (choice from user’s menu).<br>
How could I :<br>
2.1 - Map a slice from an ImageData Volume to the clipped scene ?<br>
2.2 - I have a data volume (binary raw, displayed after marching cube) and a polydata file (legacy .vtk) ; I would like to clip the volume only, not the poly data inside the OpenVR rendering.How could I do this ?<br>
<br>
Thanks for your help :-)<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>28 Corporate Drive<br>Clifton Park NY 12065<br><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div></div></div>
</div>