Re: [Paraview] 3Dconnexion SpaceNavigator and paraview

2011-11-07 Thread Nikhil Shetty
Hi Ricardo,

Which version of paraview are you using?

-Nikhil

On Sun, Nov 6, 2011 at 9:55 AM, Ricardo Reis rr...@aero.ist.utl.pt wrote:


  Hi all

  A SpaceNavigator has arrived in my desk and I have been trying to put to
 work for paraview. I use Linux.

  I've found the wiki page

  
 http://www.vtk.org/Wiki/Space_**Navigatorhttp://www.vtk.org/Wiki/Space_Navigator

  Compiled and instaled vrpn in my system. Updated my source code for
 paraview using git and explicitly compiled the plugin for VRPN.

  VRPN_INCLUDE_DIR /usr/local/include
  VRPN_LIBRARY /usr/local/lib/libvrpn.a
  VRPN_QUAT_LIBRARY/usr/local/lib/libquat.a

  I uncommented the relevant line from vrpn.cfg and started the server.

  When starting paraview with

  paraview --vrpn --vrpn-address=tracker0@**localhost

  the result is

  Cannot open data file  --vrpn 
 Application asked to unregister timer 0x6117 which is not registered
 in this thread. Fix application.


  I have also tried to go to the plugin managment and set the vrpn plugin
 to autoload.

  Anyway it is not working. Ideas?

  best regards,


  Ricardo Reis

  'Non Serviam'

  PhD candidate @ Lasef
  Computational Fluid Dynamics, High Performance Computing, Turbulence
  http://www.lasef.ist.utl.pt

  Cultural Instigator @ Rádio Zero
  http://www.radiozero.pt

  http://www.flickr.com/photos/**rreis/http://www.flickr.com/photos/rreis/

  contacts:  gtalk: kyriu...@gmail.com  skype: kyriusan

 ___
 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


___
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


Re: [Paraview] 3Dconnexion SpaceNavigator and paraview

2011-11-07 Thread Ricardo Reis

On Mon, 7 Nov 2011, Nikhil Shetty wrote:


Hi Ricardo,

Which version of paraview are you using?


3.12.0 RC3-50

taken from git

I have also the spacenav open-source driver and daemon in my system.

I have tried both ways, ie,

 - with spacenav daemon running and starting the vrpn server

 - with spacenav daemon off and starting the vrpn server

none works. The spacenav source brings a simple example program that 
works. It's just a openGL cube that you manipulate with the 
SpaceNavigator. Maybe the plugin should work with this instead of vrpn? 
Just suggesting.


Anyway I will be grateful for any input, this device was bought with 
paraview in mind.


 best


 Ricardo Reis

 'Non Serviam'

 PhD candidate @ Lasef
 Computational Fluid Dynamics, High Performance Computing, Turbulence
 http://www.lasef.ist.utl.pt

 Cultural Instigator @ Rádio Zero
 http://www.radiozero.pt

 http://www.flickr.com/photos/rreis/

 contacts:  gtalk: kyriu...@gmail.com  skype: kyriusan
___
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


Re: [Paraview] 3Dconnexion SpaceNavigator and paraview

2011-11-07 Thread Nikhil Shetty
Hi Ricardo,

On Mon, Nov 7, 2011 at 11:43 AM, Ricardo Reis rr...@aero.ist.utl.pt wrote:

 On Mon, 7 Nov 2011, Nikhil Shetty wrote:

  Hi Ricardo,

 Which version of paraview are you using?


 3.12.0 RC3-50


You may want to revert to an older version (3.10) to be able to use
the space-navigator.


 taken from git

 I have also the spacenav open-source driver and daemon in my system.

 I have tried both ways, ie,

  - with spacenav daemon running and starting the vrpn server

  - with spacenav daemon off and starting the vrpn server

 To make spacenav work with vrpn you need to uncoment the following line in
vrpn.cfg (comes with VRPN src)
vrpn_3DConnexion_Navigator device0

then start the server
# vrpn_server -f /path/to/vrpn.cfg

to test if the device is working run the following command provided by vrpn

# vrpn_print_device device0@localhost

This should print out values from VRPN device.

none works. The spacenav source brings a simple example program that works.
 It's just a openGL cube that you manipulate with the SpaceNavigator. Maybe
 the plugin should work with this instead of vrpn? Just suggesting.


The reason we went with VRPN is because we were building a general VR
framework and needed the capability to support different devices (wiimotes,
gamepads, kinects etc). Developing a VRPN client plugin seemed like the
quickest way to do that and also our clients use VRPN so it was sort of our
way forward. But what you say makes a lot of sense but we are sorted of
limited by funding and the clients immediate requirements to be able to
support that. As a matter of fact the SpaceNavigator support in PV was a
community contributed patch to the original VRPN plugin. You are more than
welcomed to contribute native drivers support if you so wish to. I would be
glad to provide assistance in this endeavor if you choose to take it up.


 Anyway I will be grateful for any input, this device was bought with
 paraview in mind.


As a side note, there have been quiet a lot of changes to the VRPN plugin
(its now called VRPlugin). We have a better framework to support multiple
VR devices (even tracked) from various VRPN/VRUI server sources and better
configuration mechanism to deal with these devices. However we haven't yet
ported and tested the space-navigator into this new framework. Its work in
progress and I will be sending out an email once we are ready with a few
more things (like documentation) in place.

Regards
Nikhil

  best



  Ricardo Reis

  'Non Serviam'

  PhD candidate @ Lasef
  Computational Fluid Dynamics, High Performance Computing, Turbulence
  http://www.lasef.ist.utl.pt

  Cultural Instigator @ Rádio Zero
  http://www.radiozero.pt

  http://www.flickr.com/photos/**rreis/http://www.flickr.com/photos/rreis/

  contacts:  gtalk: kyriu...@gmail.com  skype: kyriusan

___
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


Re: [Paraview] 3Dconnexion SpaceNavigator and paraview

2011-11-07 Thread Ricardo Reis


Hi Nikhil


 First of all, your input allowed me to get into the right track. It all 
works now and it's great. Thanks


 1 further question and more comments bellow. My use of Space Navigator is 
to navigate my simulations and not to manipulate them. Something like this 
was asked before in the list


 http://www.cmake.org/pipermail/paraview/2010-September/018757.html

 Is this possible? To use Space Navigator to control the camera, user 
movement and not to rotate objects? Or I must manipulate the all the 
ensemble to make it seem like I'm moving through it?


 On Mon, 7 Nov 2011, Nikhil Shetty wrote:


The reason we went with VRPN is because we were building a general VR
framework and needed the capability to support different devices (wiimotes,
gamepads, kinects etc). Developing a VRPN client plugin seemed like the
quickest way to do that and also our clients use VRPN so it was sort of our
way forward. But what you say makes a lot of sense but we are sorted of
limited by funding and the clients immediate requirements to be able to
support that. As a matter of fact the SpaceNavigator support in PV was a
community contributed patch to the original VRPN plugin. You are more than
welcomed to contribute native drivers support if you so wish to. I would be
glad to provide assistance in this endeavor if you choose to take it up.


After reading a bit about it I thought that would be the case. Anyway 
spacenav seems to do more than 3D Connexion stuff. I think it can become 
my pet project to contribute something to paraview code.



Anyway I will be grateful for any input, this device was bought with
paraview in mind.


As a side note, there have been quiet a lot of changes to the VRPN plugin
(its now called VRPlugin). We have a better framework to support multiple
VR devices (even tracked) from various VRPN/VRUI server sources and better
configuration mechanism to deal with these devices. However we haven't yet
ported and tested the space-navigator into this new framework. Its work in
progress and I will be sending out an email once we are ready with a few
more things (like documentation) in place.


Nice read, can't wait for the announcement.

best,

 Ricardo Reis

 'Non Serviam'

 PhD candidate @ Lasef
 Computational Fluid Dynamics, High Performance Computing, Turbulence
 http://www.lasef.ist.utl.pt

 Cultural Instigator @ Rádio Zero
 http://www.radiozero.pt

 http://www.flickr.com/photos/rreis/

 contacts:  gtalk: kyriu...@gmail.com  skype: kyriusan
___
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


Re: [Paraview] 3Dconnexion SpaceNavigator and paraview

2011-11-07 Thread Nikhil Shetty
Hi Ricardo,

On Mon, Nov 7, 2011 at 3:30 PM, Ricardo Reis rr...@aero.ist.utl.pt wrote:


 Hi Nikhil


  First of all, your input allowed me to get into the right track. It all
 works now and it's great. Thanks

  1 further question and more comments bellow. My use of Space Navigator is
 to navigate my simulations and not to manipulate them. Something like this
 was asked before in the list

  
 http://www.cmake.org/**pipermail/paraview/2010-**September/018757.htmlhttp://www.cmake.org/pipermail/paraview/2010-September/018757.html

  Is this possible? To use Space Navigator to control the camera, user
 movement and not to rotate objects? Or I must manipulate the all the
 ensemble to make it seem like I'm moving through it?


Yes if you have it working in PV then you have the capabilities to do both
(manipulate the camera and the objects). If you click on the root of the
pipeline (builtin)  it manipulates the camera. If you click on any other
objects in the pipeline then the objects representation will be
manipulated.

 On Mon, 7 Nov 2011, Nikhil Shetty wrote:

  The reason we went with VRPN is because we were building a general VR
 framework and needed the capability to support different devices
 (wiimotes,
 gamepads, kinects etc). Developing a VRPN client plugin seemed like the
 quickest way to do that and also our clients use VRPN so it was sort of
 our
 way forward. But what you say makes a lot of sense but we are sorted of
 limited by funding and the clients immediate requirements to be able to
 support that. As a matter of fact the SpaceNavigator support in PV was a
 community contributed patch to the original VRPN plugin. You are more than
 welcomed to contribute native drivers support if you so wish to. I would
 be
 glad to provide assistance in this endeavor if you choose to take it up.


 After reading a bit about it I thought that would be the case. Anyway
 spacenav seems to do more than 3D Connexion stuff. I think it can become my
 pet project to contribute something to paraview code.


Awesome :)



  Anyway I will be grateful for any input, this device was bought with
 paraview in mind.

  As a side note, there have been quiet a lot of changes to the VRPN
 plugin
 (its now called VRPlugin). We have a better framework to support multiple
 VR devices (even tracked) from various VRPN/VRUI server sources and better
 configuration mechanism to deal with these devices. However we haven't yet
 ported and tested the space-navigator into this new framework. Its work in
 progress and I will be sending out an email once we are ready with a few
 more things (like documentation) in place.


 Nice read, can't wait for the announcement.

 best,


  Ricardo Reis

  'Non Serviam'

  PhD candidate @ Lasef
  Computational Fluid Dynamics, High Performance Computing, Turbulence
  http://www.lasef.ist.utl.pt

  Cultural Instigator @ Rádio Zero
  http://www.radiozero.pt

  http://www.flickr.com/photos/**rreis/http://www.flickr.com/photos/rreis/

  contacts:  gtalk: kyriu...@gmail.com  skype: kyriusan

___
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


[Paraview] 3Dconnexion SpaceNavigator and paraview

2011-11-06 Thread Ricardo Reis


 Hi all

 A SpaceNavigator has arrived in my desk and I have been trying to put to 
work for paraview. I use Linux.


 I've found the wiki page

 http://www.vtk.org/Wiki/Space_Navigator

 Compiled and instaled vrpn in my system. Updated my source code for 
paraview using git and explicitly compiled the plugin for VRPN.


  VRPN_INCLUDE_DIR /usr/local/include
  VRPN_LIBRARY /usr/local/lib/libvrpn.a
  VRPN_QUAT_LIBRARY/usr/local/lib/libquat.a

 I uncommented the relevant line from vrpn.cfg and started the server.

 When starting paraview with

 paraview --vrpn --vrpn-address=tracker0@localhost

 the result is

 Cannot open data file  --vrpn 
Application asked to unregister timer 0x6117 which is not registered 
in this thread. Fix application.



 I have also tried to go to the plugin managment and set the vrpn plugin 
to autoload.


 Anyway it is not working. Ideas?

 best regards,


 Ricardo Reis

 'Non Serviam'

 PhD candidate @ Lasef
 Computational Fluid Dynamics, High Performance Computing, Turbulence
 http://www.lasef.ist.utl.pt

 Cultural Instigator @ Rádio Zero
 http://www.radiozero.pt

 http://www.flickr.com/photos/rreis/

 contacts:  gtalk: kyriu...@gmail.com  skype: kyriusan
___
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