Hi,

as Paul mentions, 3Dconnexion SpaceNavigator is integrated into VRPN,
and VRPN is integrated w/ OSG via osgVRPN.  osgVRPN encapsulates such
user input devices in matrix manipulator and camera manipulators.  

If you wish to bypass the VRPN layer, you can copy the code from
osgVRPN, and edit to address the device directly.  All the modern 3Dx
USB devices enumerate as a USB HID device, and most OSs provide ways to
access that traffic.

cheers
-- mew


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:osg-users-
> [EMAIL PROTECTED] On Behalf Of Paul Martz
> Sent: Thursday, April 03, 2008 2:01 PM
> To: 'OpenSceneGraph Users'
> Subject: Re: [osg-users] New Device Input
> 
> Hi Renan -
> 
> I looked at adding support for this device to OSG, but was put off by
> the fact that they have per-platform SDKs. I think Mike Weiblen was
> looking at adding this into VRPN.
> 
> Anyhow, why not just derive a new class from MatrixManipulator and add
> that to the viewer? Then hide all your device-specific code inside
that
> class. You'd need to attach your manipulator before calling run() of
> course.
> 
> Paul Martz
> Skew Matrix Software LLC
> http://www.skew-matrix.com <http://www.skew-matrix.com/>
> +1 303 859 9466
> 
> 
> ________________________________
> 
>       From: [EMAIL PROTECTED] [mailto:osg-
> [EMAIL PROTECTED] On Behalf Of Renan Mendes
>       Sent: Thursday, April 03, 2008 12:23 PM
>       To: OSG Mailing List
>       Subject: [osg-users] New Device Input
> 
> 
>       Hi,
> 
>            I'm working on a project that requires the use of a new
> input device, called space navigator. I have the method that gets the
6
> coordinates from it. I'd like to know how to get it at every frame. I
> thought of using a callback, but it doesn't seem right, for the object
> from that class is not conceptually a osg::Node. Can I include it in
my
> viewer.run() ?
> 
>                        Thanks for your tip,
> 
>                                          Renan M Z Mendes
> 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to