Space Navigator: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(Created page with "==1. VRPN Server setup:== Download VRPN form the following link and compile. http://www.cs.unc.edu/Research/vrpn/ There is a configuration file which also has configurations f...")
 
No edit summary
Line 6: Line 6:


There is a configuration file which also has configurations for space navigator. Make a separate config file with the setting or simply uncomment the config setting in the same file.
There is a configuration file which also has configurations for space navigator. Make a separate config file with the setting or simply uncomment the config setting in the same file.
  vrpn_3DConnexion_SpaceMouse device0
  vrpn_3DConnexion_SpaceMousePro device0


Run the vrpn_server with this config file. At this point the blue light on the space navigator should turn on.
Run the vrpn_server with this config file. At this point the blue light on the space navigator should turn on.


#./vrpn_server -f vrpn.cfg
./vrpn_server -f vrpn.cfg


==2. Running Paraview:==
==2. Running Paraview:==


'''NOTE: For 3.10.0, you have to manually build ParaView from source with PARAVIEW_BUILD_PLUGIN_VRPNPlugin set to ON. We are looking into packing the plugin with distributed binaries for 3.10.1 onwards.'''
'''NOTE: You have to manually build ParaView from source with PARAVIEW_BUILD_PLUGIN_VRPNPlugin set to ON. We are looking into packing the plugin with distributed binaries onwards.'''
 
# Start ParaView
# Enable the VR plugin in Tools->Manage Plugins... (Select VR Plugin and click 'Load Selected')
# On the VR Panel, click on '+ Add...' to add a VR Connections
## Type: VPRN
## Name: vrconn
##
 


Run paraview with --vrpn --vrpn-address options.
Run paraview with --vrpn --vrpn-address options.


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


note: 'tracker0' should be replaced with whatever name is provided in the configuration file.
note: 'tracker0' should be replaced with whatever name is provided in the configuration file.

Revision as of 11:52, 20 August 2014

1. VRPN Server setup:

Download VRPN form the following link and compile.

http://www.cs.unc.edu/Research/vrpn/

There is a configuration file which also has configurations for space navigator. Make a separate config file with the setting or simply uncomment the config setting in the same file.

 vrpn_3DConnexion_SpaceMouse device0
 vrpn_3DConnexion_SpaceMousePro device0

Run the vrpn_server with this config file. At this point the blue light on the space navigator should turn on.

./vrpn_server -f vrpn.cfg

2. Running Paraview:

NOTE: You have to manually build ParaView from source with PARAVIEW_BUILD_PLUGIN_VRPNPlugin set to ON. We are looking into packing the plugin with distributed binaries onwards.

  1. Start ParaView
  2. Enable the VR plugin in Tools->Manage Plugins... (Select VR Plugin and click 'Load Selected')
  3. On the VR Panel, click on '+ Add...' to add a VR Connections
    1. Type: VPRN
    2. Name: vrconn


Run paraview with --vrpn --vrpn-address options.

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

note: 'tracker0' should be replaced with whatever name is provided in the configuration file.

once paraview is started

Select: Tools->Manage Plugins ->VRPN Plugin {Click On: Load Selected }

3. Use

Selecting the root of the pipeline (builtin:) to manipulate the camera. Clicking on any object manipulates the object.

Typically use the mouse (on right hand) to select objects and Space Navigator (on left hand) to manipulate the object or camera.