<div dir="ltr">You can try editing the CMakeLists file for Rendeing/Oculus and remove the classes from the no wrap section. They might wrap OK into python. I have not tried it.<div><br></div><div>We have not added support for the oculus touch controllers yet as we have not had customer pull for it yet and limited time. If you get something working though we can try adding it in so everyone benefits.</div><div><br></div><div>Thanks</div><div>Ken</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 9, 2017 at 5:49 AM, Daan Kruis <span dir="ltr"><<a href="mailto:daan_kruis@hotmail.com" target="_blank">daan_kruis@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_5258582758512943555divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p><span style="color:rgb(33,33,33);font-size:15px;font-family:Calibri,Arial,Helvetica,sans-serif">Dear Readers,</span><br>
</p>
<div style="color:rgb(0,0,0)">
<div>
<div id="m_5258582758512943555divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br style="color:rgb(33,33,33);font-size:15px">
<span style="color:rgb(33,33,33);font-size:15px">My name is Daan Kruis and I am a bachelor computer science student at the University of Amsterdam.</span><br style="color:rgb(33,33,33);font-size:15px">
<span style="color:rgb(33,33,33);font-size:15px">For my bachelorthesis I am researching scientific visualization in virtual reality.</span><br style="color:rgb(33,33,33);font-size:15px">
<span style="color:rgb(33,33,33);font-size:15px">The idea is to enable a user to create, edit and view a visualization pipeline all from a virtual reality environment.</span><br style="color:rgb(33,33,33);font-size:15px">
<span style="color:rgb(33,33,33);font-size:15px">For this purpose I want to use the extensive VTK library.</span><br style="color:rgb(33,33,33);font-size:15px">
<span style="color:rgb(33,33,33);font-size:15px">However, since creating and editing a pipeline from within an application requires introspection into the libraries classes and methods, I cannot use a language like C++, but instead require something like Python.</span><br style="color:rgb(33,33,33);font-size:15px">
<span style="color:rgb(33,33,33);font-size:15px">Now the VR setup I have to use is the Oculus Rift with Oculus Touch Controllers, but there are no python wrappings for the Oculus Rendering classes in VTK (and in general no Oculus Touch support).</span><br style="color:rgb(33,33,33);font-size:15px">
<br style="color:rgb(33,33,33);font-size:15px">
<span style="color:rgb(33,33,33);font-size:15px">My question is if there is any way to wrap the various Oculus classes in python, or if you know of a way to work around this problem.</span><br style="color:rgb(33,33,33);font-size:15px">
<span style="color:rgb(33,33,33);font-size:15px">I was also looking at widgets, because they could prove useful in making the GUI, but they don't seem to be made for rendering in the Oculus. When Rendering a widget in the Oculus it displays it on both screens
at the specified position and moves along with the movement of the head, instead of standing still in a 3D world. Is this the expected behaviour, or am I doing something wrong? And if it is expected, is there a way to render it as a still object in the 3D
VR environment.</span><br style="color:rgb(33,33,33);font-size:15px">
<br style="color:rgb(33,33,33);font-size:15px">
<span style="color:rgb(33,33,33);font-size:15px">Thanks in advance for your time.</span><br style="color:rgb(33,33,33);font-size:15px">
<br style="color:rgb(33,33,33);font-size:15px">
<span style="color:rgb(33,33,33);font-size:15px">Regards,</span><br style="color:rgb(33,33,33);font-size:15px">
<span style="color:rgb(33,33,33);font-size:15px">Daan Kruis</span><br>
</p>
</div>
</div>
</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>
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>
<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>