<div dir="ltr">Dear Hannah, <br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 9, 2015 at 8:44 PM, Hannah Klinac <span dir="ltr"><<a href="mailto:hfklinac@hotmail.com" target="_blank">hfklinac@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><div dir="ltr">Hi Aashish,<div><br></div><div>Thanks for the prompt reply!</div><div><br></div><div>1) Yes it is a valid VRPN server, and the vrpn.cfg file is set up correctly. When I run vrpn_print_devices with "Mouse0@localhost" as the argument I get correct button and analog feedback. I have read that in the VR Plugin, the address should be <span style="font-family:sans-serif;font-size:12.6999998092651px;line-height:19.0499992370605px;background-color:rgb(255,255,255)">"<device>@<hostname/IP>", therefore Mouse0@localhost should be correct.</span></div></div></div></blockquote><div><br></div><div>RIght that is correct.  </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div><br></div><div>2) I am unsure of what to do for the interaction in the VR Plugin, there doesn't seem to be a lot of options available, is there some sort of example configuration you could give me as a starter? I do not have access to a tracker, is interaction achievable without one?</div></div></div></blockquote><div><br></div><div>We don't have many options. We only have two stylee: One used for the tracker and another one to use the tracker data to navigate around.  </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div><br></div><div>Basically I just want to be able to move the camera, or interact with an object using devices through the VRPN. I am starting with the mouse (Mouse0) because I know it works on other applications and on the VRPN, so I am assuming the trouble I am having is with my Paraview configuration. </div></div></div></blockquote><div><br></div><div>Sure, What you can do is look at the TrackerStyle class. You can very easily add a new style class that can respond to mouse clicks or anything else. The current style won't work in your configuration because it needs tracker and 3 buttons for navigation. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div>After I have set up simple interaction with the mouse I will move onto other devices that VRPN supports, such as the 5DT Data Gloves. And an example of the interaction I want is to be able to turn the camera left when the mouse moves left, right when it moves right, forward, backward, and to be able to grab the object on click.</div></div></div></blockquote><div><br></div><div>That would be great. I am willing to help you if you are willing to share the code and add a new class to ParaView. Please let me know. </div><div><br></div><div>- Aashish </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div><br></div><div>Thanks,</div><div>Hannah<br><br><div><hr>Date: Mon, 9 Feb 2015 09:17:28 -0500<div><div class="h5"><br>Subject: Re: [Paraview] Paraview enabled VR Plugin not interacting via VRPN<br>From: <a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a><br>To: <a href="mailto:hfklinac@hotmail.com" target="_blank">hfklinac@hotmail.com</a><br>CC: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br><br><div dir="ltr">Hannah, <div><br></div><div>Thanks for sending the files. Couple of thigs: </div><div><br></div><div>1) Is this really a valid VRPN server Mouse0@localhost? Can you use vrpn_print_devices program to communicate with it? </div><div><br></div><div>2) Looks like you the property you configured is visibility but the style you have chosen is vtkVRGrabWorldStyle which requires tracker or otherwise it won't do anything. </div><div><br></div><div>Can you describe it in bit more detail on what exactly you are trying to achieve? What hardware you have? </div><div><br></div><div>- Aashish</div></div><div><br><div>On Sun, Feb 8, 2015 at 9:50 PM, Hannah Klinac <span dir="ltr"><<a href="mailto:hfklinac@hotmail.com" target="_blank">hfklinac@hotmail.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hi,<div><br></div><div>This is my process:</div><div><br></div><div><ol><li><span style="font-size:12pt">Start Paraview server</span></li><li><span style="font-size:12pt">Start VRPN server</span></li><li><span style="font-size:12pt">Start Paraview client</span></li><ol><li><span style="font-size:12pt">Add an object (box)</span></li><li><span style="font-size:12pt">Add VRPN connection in the VR Panel</span></li><li><span style="font-size:12pt">Add VRPN interaction in the VR Panel</span></li></ol><li>Press "start"</li></ol><div><br></div></div><div>Is there anything I am missing?</div><div>Elsewise I can give more information about my VRPN, however I'm assuming I'm doing something wrong/missing something with the Paraview setup.</div><div><br></div><div>I have saved the project and VR state files and attached them.</div><div><br></div><div>I am using Paraview 4.3.1 (32bit) on Windows 7 (64bit).</div><div><br></div><div>Thanks for your help,</div><div>Hannah</div><div><br><div><div><hr>Date: Wed, 4 Feb 2015 11:11:10 -0500<br>Subject: Re: [Paraview] Paraview enabled VR Plugin not interacting via VRPN<br>From: <a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a><br>To: <a href="mailto:hfklinac@hotmail.com" target="_blank">hfklinac@hotmail.com</a><br>CC: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a></div><div><div><br><br><div dir="ltr">Hi Hannah, <br><div><br><div>On Wed, Feb 4, 2015 at 3:36 AM, Hannah Klinac <span dir="ltr"><<a href="mailto:hfklinac@hotmail.com" target="_blank">hfklinac@hotmail.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">


<div dir="ltr">Hi,<div><br></div><div>I recently compiled Paraview from the source code to enable the VR Plugin.</div><div><br></div><div>I have built VRPN, and compiled Paraview using that VRPN's dependencies.</div><div><br></div><div>However, when I add the connection and interaction in the VR Plugin in Paraview and press "Start", when I (for example) press the button I have registered down, the interaction doesn't happen. And on my server it says:</div><div><br></div><div>"vrpn: Connection requiest received from 'IP address': 'IP address' 'Port'</div><div>Get a new connection, reset virtual_Tracker"</div></div></div></div></blockquote><div><br></div><div>Is it possible for you to share the VR state file? Or provide information on how you setup the VRPN server in the first place? Seems like a configuration issue.  Also, helpful to know the version of ParaView and the OS you are using? </div><div> </div><blockquote style="border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div dir="ltr"><div><br></div><div>Any idea if I have just not setup my connection/interaction correctly in Paraview? The VRPN server works fine for other applications such as Vizard.</div></div></div></div></blockquote><div><br></div><div>Thanks,</div><div> </div><blockquote style="border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div dir="ltr"><div><br></div><div>Thanks in advance for any guidance,</div><div>Hannah</div><div><br></div><div><br></div><div><br></div></div>
                                          </div></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>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader         <br>| Kitware Inc.            <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div></div></div></div></div></div>                                          </div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader         <br>| Kitware Inc.            <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div></div></div></div></div>                                      </div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader         <br>| Kitware Inc.            <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div></div>