<div dir="ltr">Both of those options sound fairly challenging unless you have worked with VTK a lot. I do believe there have been some experiments integrating ParaView to Unity or Unreal. There is some effort going on right now to improve widgets and interaction in OpenVR/VTK/PV as well but I wouldn't subject someone to that unless they had a lot of VTK dev experience as it can get into the guts of VTK fairly quickly.<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 11, 2017 at 7:45 AM, David Tuckey <span dir="ltr"><<a href="mailto:david.tuckey@eleves.ec-nantes.fr" target="_blank">david.tuckey@eleves.ec-nantes.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><div><div><span style="font-family:arial,helvetica,sans-serif">Hello,</span><br><br><span style="font-family:arial,helvetica,sans-serif">I am currently working on scientific visualisation in virtual reality </span><br><span style="font-family:arial,helvetica,sans-serif">and am looking for ways to enhance the Paraview capabilities in this </span><br><span style="font-family:arial,helvetica,sans-serif">domain. I am using for my current tests a HTC Vive, but I am considering </span><br><span style="font-family:arial,helvetica,sans-serif">using a zSpace or a workbench in further works. The first goal is to be </span><br><span style="font-family:arial,helvetica,sans-serif">able to grab a plane and move it around in the virtual world to do live </span><br><span style="font-family:arial,helvetica,sans-serif">clipping of the objects, or move around a point to display live the </span><br><span style="font-family:arial,helvetica,sans-serif">streamlines at its location.</span><br><br><span style="font-family:arial,helvetica,sans-serif">A problem I am facing is that when objects in the scene are at the same </span><br><span style="font-family:arial,helvetica,sans-serif">location, I am never sure which one I will grab. Also while doing tests </span><br><span style="font-family:arial,helvetica,sans-serif">on VTK with OpenVR enabled, I could move around the representation of a </span><br><span style="font-family:arial,helvetica,sans-serif">basic vtkPlaneWidget without any effect on the position of it's bouding </span><br><span style="font-family:arial,helvetica,sans-serif">points or normal vector.</span><br><br><span style="font-family:arial,helvetica,sans-serif">I have two solutions in mind.</span><br><br><span style="font-family:arial,helvetica,sans-serif">1) The first solution is to modify ParaView's (and so VTK's) OpenVR </span><br><span style="font-family:arial,helvetica,sans-serif">scripts to allow better interaction and live pipeline modification. I am </span><br><span style="font-family:arial,helvetica,sans-serif">new to VTK/ParaView source code, but I guess that would mean modifying </span><br><span style="font-family:arial,helvetica,sans-serif">the vtkOpenVRRenderWindowInteracto<wbr>r, the vtkRenderWindowInteractor3D and </span><br><span style="font-family:arial,helvetica,sans-serif">a few other interaction classes. Developping ParaView's built in OpenVR </span><br><span style="font-family:arial,helvetica,sans-serif">solution may reveal itself difficult for specific interaction tasks. Do </span><br><span style="font-family:arial,helvetica,sans-serif">you have any idea of where I should start from ?</span><br><br><span style="font-family:arial,helvetica,sans-serif">2)  The second solution would be to transfer the geometries after each </span><br><span style="font-family:arial,helvetica,sans-serif">modification to another software (such as a Unity pre-built scene), do </span><br><span style="font-family:arial,helvetica,sans-serif">the interaction in this software, and send back to ParaView the </span><br><span style="font-family:arial,helvetica,sans-serif">modification instructions. I thought I could archive this by using </span><br><span style="font-family:arial,helvetica,sans-serif">sockets in a Python script. Developping a new application on Unity </span><br><span style="font-family:arial,helvetica,sans-serif">allows easier interaction and the use on different hardware, but adds a </span><br><span style="font-family:arial,helvetica,sans-serif">new communication steps that could slow down the process.  Do you have </span><br><span style="font-family:arial,helvetica,sans-serif">any advice about that ?</span><br><br><span style="font-family:arial,helvetica,sans-serif">I am not sure which one of the two solutions is the best.</span><br><br><span style="font-family:arial,helvetica,sans-serif">Thank you for any help.</span></div><span class="HOEnZb"><font color="#888888"><div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">David Tuckey<br></span></div><div><span style="font-family:arial,helvetica,sans-serif">Student at Ecole Centrale de Nantes</span></div></font></span></div></div></div><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>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview-<wbr>developers</a><br>
<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>