[Paraview] VRPN Setup

Nikhil Shetty nikhil.shetty at kitware.com
Mon Jul 9 07:27:18 EDT 2012


Hi Sean,

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's the reason you don't see anything
on the PVClient.

-Nikhil

On Mon, Jul 9, 2012 at 6:35 AM, Sean Delaney <sdelaneydias at gmail.com> wrote:

> Hi,
>
> I'm trying to use paraview's VRPN functionality for head tracking. I've
> compiled Paraview 3.14.1 on linux (64) and I have one stereo screen. I'm
> using a Windows tracking server with IOTracker hardware / software.
>
> What works:
> Stereoscopic rendering (I use the cube source as a test).
> Independently of paraview, "vrpn_print_devices" can receive VRPN data.
> (i.e. the tracking numbers change when I move the target)
>
> What doesn't:
> When I move the tracking target, nothing visibly happens in Paraview.
> Expected result:
> 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.
>
> The build:
> I compiled Paraview with the following enabled:
> BUILD_SHARED_LIB, PARAVIEW_BUILD_QT_GUI, PARAVIEW_USE_MPI
> and PARAVIEW_BUILD_PLUGIN_VRPlugin
> I also enabled PARAVIEW_USE_VRPN and disabled PARAVIEW_USE_VRUI
>
> 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'm just wrong.
>
> Running:
> I saved a state file with the cube source. I modified the state file by
> adding the lines below at the end, just before </Paraview>. Then I
> restarted Paraview, loaded the VR plugin and loaded the modified state.
>
> 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
> "CAVE" type display, I am just using the default server (localhost). I plan
> to configure the display geometry correctly once I know the tracking
> "works", i.e. does something. Is this ok?
>
> Any help greatly appreciated.
>
> Seán
>
> ---------- Lines added to state file ----------
>
>  <!-->
>               VRPN  Connections
>  </!-->
>   <VRConnectionManager>
>     <VRPNConnection name="iotracker" address="Email iotracker at 192.168.20.9
> ">
>       <Tracker id="1" name="head"/>
>     </VRPNConnection>
>  </VRConnectionManager>
>  <!-->
>         Interactor Style
>  </!-->
>   <VRInteractorStyles>
>     <Style class="vtkVRStyleTracking" set_property="RenderView1.HeadPose">
>       <Tracker name="iotracker.head"/>
>     </Style>
>   </VRInteractorStyles>
>   </ServerManagerState>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120709/2809f7c9/attachment-0001.htm>


More information about the ParaView mailing list