Hi Sean,<div><br></div><div>Head tracking is only enabled on the server side i.e in CAVE displays. Display configuration is tightly tied in with tracking and so the client camera ignores HeadPose value and that&#39;s the reason you don&#39;t see anything on the PVClient.</div>

<div><br></div><div>-Nikhil<br><br><div class="gmail_quote">On Mon, Jul 9, 2012 at 6:35 AM, Sean Delaney <span dir="ltr">&lt;<a href="mailto:sdelaneydias@gmail.com" target="_blank">sdelaneydias@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi,</div><div><br></div><div>I&#39;m trying to use paraview&#39;s VRPN functionality for head tracking. I&#39;ve compiled Paraview 3.14.1 on linux (64) and I have one stereo screen. I&#39;m using a Windows tracking server with IOTracker hardware / software.</div>


<div><br></div><div>What works:</div><div>Stereoscopic rendering (I use the cube source as a test).</div><div>Independently of paraview, &quot;vrpn_print_devices&quot; can receive VRPN data.</div><div>(i.e. the tracking numbers change when I move the target)</div>


<div><br></div><div>What doesn&#39;t:</div><div>When I move the tracking target, nothing visibly happens in Paraview.</div><div>Expected result:</div><div>The viewing angle should change somehow then the tracking target moves. I have not configured the geometry yet but I expect to see some change in the display.</div>


<div><br></div><div>The build:</div><div>I compiled Paraview with the following enabled:</div><div>BUILD_SHARED_LIB, PARAVIEW_BUILD_QT_GUI, PARAVIEW_USE_MPI and PARAVIEW_BUILD_PLUGIN_VRPlugin</div><div>I also enabled PARAVIEW_USE_VRPN and disabled PARAVIEW_USE_VRUI</div>


<div><br></div><div>Note: Initially, that build failed so I enabled both VRPN and VRUI. Later, I wondered if this was causing problems, so I disabled VRUI again and modified the source to make it compile. I just had to add a Queue member to the pqInternals object inside the VRPN ifdef (copied from the VRUI ifdef). Let me know if I should report that as a bug, or if I&#39;m just wrong.</div>


<div><br></div><div>Running: </div><div>I saved a state file with the cube source. I modified the state file by adding the lines below at the end, just before &lt;/Paraview&gt;. Then I restarted Paraview, loaded the VR plugin and loaded the modified state. </div>


<div><br></div><div>Note: I could not find a ViewManager section in the state file as I expected from the howto. Also, I have not configured a pvserver to run a &quot;CAVE&quot; type display, I am just using the default server (localhost). I plan to configure the display geometry correctly once I know the tracking &quot;works&quot;, i.e. does something. Is this ok?</div>


<div><br></div><div>Any help greatly appreciated.</div><div><br></div><div>Seán</div><div><br></div><div>---------- Lines added to state file ----------</div><div><br></div><div> &lt;!--&gt;</div><div>              VRPN  Connections</div>


<div> &lt;/!--&gt;</div><div>  &lt;VRConnectionManager&gt;</div><div>    &lt;VRPNConnection name=&quot;iotracker&quot; address=&quot;Email <a href="mailto:iotracker@192.168.20.9" target="_blank">iotracker@192.168.20.9</a>&quot;&gt;</div>


<div>      &lt;Tracker id=&quot;1&quot; name=&quot;head&quot;/&gt;</div><div>    &lt;/VRPNConnection&gt;</div><div> &lt;/VRConnectionManager&gt;</div><div> &lt;!--&gt;</div><div>        Interactor Style</div><div> &lt;/!--&gt;</div>


<div>  &lt;VRInteractorStyles&gt;</div><div>    &lt;Style class=&quot;vtkVRStyleTracking&quot; set_property=&quot;RenderView1.HeadPose&quot;&gt;</div><div>      &lt;Tracker name=&quot;iotracker.head&quot;/&gt;</div><div>

    &lt;/Style&gt;</div>
<div>  &lt;/VRInteractorStyles&gt;</div><div>  &lt;/ServerManagerState&gt;</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>